Add clock test, and fix ucore_clock.h header
This commit is contained in:
@@ -84,7 +84,7 @@ void ucore_settable_clock_init(struct ucore_settable_clock *clock);
|
||||
/**
|
||||
* Set the new timeval this clock will return
|
||||
**/
|
||||
void ucore_cached_clock_set_tv(struct ucore_settable_clock *clock,
|
||||
void ucore_settable_clock_set_tv(struct ucore_settable_clock *clock,
|
||||
const struct timeval *tv);
|
||||
|
||||
/**
|
||||
@@ -92,7 +92,7 @@ void ucore_cached_clock_set_tv(struct ucore_settable_clock *clock,
|
||||
* Convenience function that takes seconds/microseconds as arguments
|
||||
* instead of a struct timeval.
|
||||
**/
|
||||
void ucore_cached_clock_set(struct ucore_settable_clock *clock,
|
||||
void ucore_settable_clock_set(struct ucore_settable_clock *clock,
|
||||
time_t secs, suseconds_t usecs);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user