tests: schedule_api: fix style

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-06-16 22:12:46 -04:00 committed by Kumar Gala
commit 00b55663f1
3 changed files with 22 additions and 22 deletions

View file

@ -12,7 +12,7 @@ static K_THREAD_STACK_ARRAY_DEFINE(tstack, NUM_THREAD, STACK_SIZE);
/* slice size in millisecond*/ /* slice size in millisecond*/
#define SLICE_SIZE 200 #define SLICE_SIZE 200
/* busy for more than one slice*/ /* busy for more than one slice*/
#define BUSY_MS (SLICE_SIZE+20) #define BUSY_MS (SLICE_SIZE + 20)
/* a half timeslice*/ /* a half timeslice*/
#define HALF_SLICE_SIZE (SLICE_SIZE >> 1) #define HALF_SLICE_SIZE (SLICE_SIZE >> 1)
@ -21,7 +21,7 @@ K_SEM_DEFINE(sema, 0, NUM_THREAD);
static s64_t elapsed_slice; static s64_t elapsed_slice;
/*expected elapsed duration*/ /*expected elapsed duration*/
static s64_t expected_slice[NUM_THREAD] = { static s64_t expected_slice[NUM_THREAD] = {
HALF_SLICE_SIZE,/* the ztest native thread taking a half timeslice*/ HALF_SLICE_SIZE, /* the ztest native thread taking a half timeslice*/
SLICE_SIZE, /* the spawned thread taking a full timeslice, reset*/ SLICE_SIZE, /* the spawned thread taking a full timeslice, reset*/
SLICE_SIZE /* the spawned thread taking a full timeslice, reset*/ SLICE_SIZE /* the spawned thread taking a full timeslice, reset*/
}; };