strtoul()
[akaros.git] / kern / include / time.h
index c3292ae..92ee9b4 100644 (file)
@@ -17,8 +17,14 @@ struct itimerspec {
   struct timespec  it_value;     /* Timer expiration */
 };
 
+struct timeval {
+       time_t tv_sec;  /* seconds */
+       time_t tv_usec; /* microseconds */
+};
+
 void train_timing();
-void udelay(uint64_t usec);
+void udelay(uint64_t usec);    /* done in arch-specific files */
+void udelay_sched(uint64_t usec);
 uint64_t tsc2sec(uint64_t tsc_time);
 uint64_t tsc2msec(uint64_t tsc_time);
 uint64_t tsc2usec(uint64_t tsc_time);