Interface: Time-related data and types. More...
#include <config.h>
Go to the source code of this file.
Macros | |
#define | TICK_IN_MS 1 |
timer tick in ms More... | |
#define | TICKS_PER_SEC 1000 |
number of mS tics in 1Sec More... | |
#define | SECS_TO_TICKS(a) ((a)*TICKS_PER_SEC) |
conv. Sec's to TICKs More... | |
#define | MSECS_TO_TICKS(a) ((a)/TICK_IN_MS) |
conv. mSec's to TICKs More... | |
Typedefs | |
typedef unsigned long | time_t |
time type More... | |
Functions | |
time_t | get_system_up_time (void) |
Interface: Time-related data and types.
Definition in file time.h.
#define MSECS_TO_TICKS | ( | a | ) | ((a)/TICK_IN_MS) |
#define SECS_TO_TICKS | ( | a | ) | ((a)*TICKS_PER_SEC) |
typedef unsigned long time_t |
time_t get_system_up_time | ( | void | ) |
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2005 by the authors. |