GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / dev > edspbs / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

TMR.sx-xxx-xxx.h File Reference

Provides the implementation of the timing macros on a SUN platform. More...

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


Detailed Description

Provides the implementation of the timing macros on a SUN platform.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: TMR.sx-xxx-xxx.h,v 1.2 2005/10/13 22:00:56 russell Exp $

ABSTRACT
SUN implementation of the TMR facility. The implementation is based of SUN's high resolution timer library.
USAGE
See the documentation for the generic TMR facility.

Typedef Documentation

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.


Generated on Fri Nov 30 09:30:35 2012 by  doxygen 1.5.8