benchmark/app_kernel: fix useless comment

The comment did not convey anything, as it was a relic from before a
previous renaming. Use the SECONDS(x) macro to make everything clearer.

Change-Id: Ia757061c4083d7567df5b214326c2cf8b6804fbf
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
Benjamin Walsh 2015-08-20 10:56:58 -04:00 committed by Anas Nashif
commit 849865046b

View file

@ -41,6 +41,8 @@
#include "master.h"
#define SECONDS(x) ((x) * sys_clock_ticks_per_sec)
char Msg[MAX_MSG];
char data_bench[OCTET_TO_SIZEOFUNIT(MESSAGE_SIZE)];
@ -159,12 +161,8 @@ void BenchTask(void)
WAIT_FOR_USER();
/*
* Make a 2 second delay. sys_clock_ticks_per_sec in this context is
* a number of system times ticks in a second.
*/
if (autorun) {
task_sleep(2 * sys_clock_ticks_per_sec);
task_sleep(SECONDS(2));
}
output_close();