GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / dev > edspbs / sun-gcc
#include <sys/time.h>
Defines | |
#define | TMR_GET() gethrtime() |
Macro to get the processor time. | |
#define | TMR_TO_NSECS(_delta) _delta |
Convert a delta time in processor time units to nanoseconds. | |
#define | TMR_FORMAT "%16llu" |
Provides a uniform way to format timer ticks. | |
#define | TMR_DELTA(_beg, _end) (_end - _beg) |
Subtracts two times in ticks, returning the result in ticks. | |
#define | TMR_DELTA_IN_NSECS(_beg, _end) (_end - _beg) |
Subtracts two times in tickss, returning the result in nanoseconds. | |
Typedefs | |
typedef hrtime_t | TMR_tick |
The abstract type of a TMR tick. |
CVS $Id: TMR.sx-xxx-xxx.h,v 1.2 2005/10/13 22:00:56 russell Exp $
The abstract type of a TMR tick.
This is the abstract type returned by TMR_GET(). Since it varies on a machine-by-machine basis, no direct manipulation of this data type should be attempted. Use only the TMR routines and macros with this type.