|
|
@ -73,6 +73,12 @@ read_thread(void *unused CK_CC_UNUSED)
|
|
|
|
unsigned int j;
|
|
|
|
unsigned int j;
|
|
|
|
ck_epoch_record_t record;
|
|
|
|
ck_epoch_record_t record;
|
|
|
|
ck_stack_entry_t *cursor;
|
|
|
|
ck_stack_entry_t *cursor;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
* This is redundant post-incremented in order to silence some
|
|
|
|
|
|
|
|
* irrelevant GCC warnings. It is volatile in order to prevent
|
|
|
|
|
|
|
|
* elimination.
|
|
|
|
|
|
|
|
*/
|
|
|
|
volatile ck_stack_entry_t *n;
|
|
|
|
volatile ck_stack_entry_t *n;
|
|
|
|
|
|
|
|
|
|
|
|
ck_epoch_register(&stack_epoch, &record);
|
|
|
|
ck_epoch_register(&stack_epoch, &record);
|
|
|
@ -98,6 +104,7 @@ read_thread(void *unused CK_CC_UNUSED)
|
|
|
|
CK_STACK_FOREACH(&stack, cursor) {
|
|
|
|
CK_STACK_FOREACH(&stack, cursor) {
|
|
|
|
n = cursor;
|
|
|
|
n = cursor;
|
|
|
|
j++;
|
|
|
|
j++;
|
|
|
|
|
|
|
|
n++;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ck_epoch_end(&record);
|
|
|
|
ck_epoch_end(&record);
|
|
|
|
|
|
|
|
|
|
|
|