Mercurial > hg > Gears > GearsAgda
diff src/parallel_execution/time.cbc @ 278:23767f714f4a
fix generate_stub
author | mir3636 |
---|---|
date | Thu, 02 Feb 2017 20:27:56 +0900 |
parents | 9d671e63df74 |
children |
line wrap: on
line diff
--- a/src/parallel_execution/time.cbc Thu Feb 02 18:29:50 2017 +0900 +++ b/src/parallel_execution/time.cbc Thu Feb 02 20:27:56 2017 +0900 @@ -1,10 +1,9 @@ #include <stdio.h> #include <sys/time.h> -#include "context.h" -#include "origin_cs.h" +#include "../context.h" -__code start_time(struct Context* context, struct Time* time) { +__code start_time(struct Time* time) { struct timeval tv; gettimeofday(&tv, NULL); @@ -17,7 +16,7 @@ goto start_time(context, &context->data[D_Time]->Time); } -__code end_time(struct Context* context, struct Time* time) { +__code end_time(struct Time* time) { struct timeval tv; gettimeofday(&tv, NULL);