Defines | |
#define | CLOCK_SECOND |
Functions | |
void | clock_init (void) |
clock_time_t | clock_time (void) |
The clock interface is the interface between the timer library and the platform specific clock functionality. The clock interface must be implemented for each platform that uses the timer library.
The clock interface does only one this: it measures time. The clock interface provides a macro, CLOCK_SECOND, which corresponds to one second of system time.
#define CLOCK_SECOND |
void clock_init | ( | void | ) |
Initialize the clock library.
This function initializes the clock library and should be called from the main() function of the system.
Initialize for timing operation
Definition at line 68 of file clock-arch.c.
clock_time_t clock_time | ( | void | ) |
Get the current clock time.
This function returns the current system clock time.
Read for clock time (ms)
Definition at line 98 of file clock-arch.c.