Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

include/time.h File Reference

Interface: Time-related data and types. More...

#include "../time.h"
#include <config.h>

Include dependency graph for time.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#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...


Variables

volatile time_t sys_time
 current system time. More...


Detailed Description

Interface: Time-related data and types.

Author:
Markus L. Noga <markus@noga.de>
Bug:
time_t is a 32 bit value which will overflow after 49.7 days of continuous operation.

Definition in file time.h.


Define Documentation

#define MSECS_TO_TICKS      ((a)/TICK_IN_MS)
 

conv. mSec's to TICKs.

Definition at line 62 of file time.h.

#define SECS_TO_TICKS      ((a)*TICKS_PER_SEC)
 

conv. Sec's to TICKs.

Definition at line 61 of file time.h.

#define TICK_IN_MS   1
 

timer tick in ms.

Definition at line 57 of file time.h.

#define TICKS_PER_SEC   1000
 

number of mS tics in 1Sec.

Definition at line 59 of file time.h.


Typedef Documentation

typedef unsigned long time_t
 

time type.

Bug:
This is a 32 bit value which will overflow after 49.7 days of continuous operation.

Definition at line 50 of file time.h.


Variable Documentation

volatile time_t sys_time
 

current system time.

Definition at line 70 of file time.h.


brickOS is released under the Mozilla Public License.
Original code copyright 1998-2002 by the authors.

Generated on Tue Dec 10 00:09:07 2002 for brickOS C++ by doxygen 1.2.15