X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2Finclude%2Ftime.h;h=bd7afce9fee9cd167d87acf63c7c177d094d4d8d;hb=f12d3444d2efeae97f8a4fc7ecf65b23087a653a;hp=7861255f88207061ab147dc202b3a12decf621cd;hpb=ac01ae9668972f7fc8223d8fd68168f27c7baec0;p=tpg%2Facess2.git diff --git a/Usermode/include/time.h b/Usermode/include/time.h index 7861255f..bd7afce9 100644 --- a/Usermode/include/time.h +++ b/Usermode/include/time.h @@ -8,6 +8,9 @@ #ifndef _TIME_H_ #define _TIME_H_ +#include +#include // time_t + struct tm { int tm_sec; @@ -21,5 +24,11 @@ struct tm int tm_isdst; }; +#define CLOCKS_PER_SEC 1000 + +typedef signed long long clock_t; + +extern clock_t clock(); + #endif