Mercurial > hg > Members > Moririn
diff src/parallel_execution/time.c @ 102:64c98838a291
remove stack StartTime&EndTime
author | ikkun |
---|---|
date | Wed, 02 Mar 2016 20:51:33 +0900 |
parents | 3e28ee215c0e |
children | 473b7d990a1f |
line wrap: on
line diff
--- a/src/parallel_execution/time.c Wed Mar 02 19:23:00 2016 +0900 +++ b/src/parallel_execution/time.c Wed Mar 02 20:51:33 2016 +0900 @@ -10,8 +10,7 @@ time->time = tv.tv_sec + (double)tv.tv_usec*1e-6; - stack_pop(context->code_stack, &context->next); - goto meta(context, context->next); + goto meta(context, time->next); } __code start_time_stub(struct Context* context) { @@ -24,8 +23,7 @@ printf("%0.6f\n", (tv.tv_sec+(double)tv.tv_usec*1e-6) - time->time); - stack_pop(context->code_stack, &context->next); - goto meta(context, context->next); + goto meta(context, time->next); } __code end_time_stub(struct Context* context) {