GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > IPBS / V0-0-1
Constituent: pbs     Tag: i845e
#include "IPBS/PTS.h"
Include dependency graph for TMR.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | _TMR_usecs_nsecs |
Structure to hold the time in terms of two integers, one giving the number of micro-seconds, the other the number of milliseconds. More... | |
Defines | |
#define | TMR_GET() PTS_GETS() |
Macro to get the processor time. | |
#define | TMR_TO_NSECS(_ticks) PTS_PTUS_TO_NSECS(_ticks) |
Convert a time processor time ticks to nanoseconds. | |
#define | TMR_DELTA(_beg, _end) PTS_DELTAS(_beg, _end) |
Subtracts two times in ticks, returning the result in ticks. | |
#define | TMR_DELTA_IN_NSECS(_beg, _end) PTS_DELTAS_IN_NSECS(_beg, _end) |
Subtracts two times in tickss, returning the result in nanoseconds. | |
Typedefs | |
typedef unsigned int | TMR_tick |
The type of an elapsed unit of time. | |
typedef _TMR_usecs_nsecs | TMR_usecs_nsecs |
Typedef for struct _TMR_usecs_nsecs. | |
Functions | |
unsigned int | TMR_ticks_to_nsecs (TMR_tick ticks) |
Convert a number of ticks to nanoseconds. | |
TMR_usecs_nsecs | TMR_ticks_to_usecs_nsecs (TMR_tick ticks) |
Convert a number of ticks useconds.nanoseconds. |
CVS $Id: TMR.h,v 1.1.1.1 2006/02/10 21:45:37 saxton Exp $
TMR_tick beg; TMR_tick end; TMR_tick elapsed; beg = TMR_GET(); . eventToTime (); . end = TMR_GET(); elapsed = end - beg; printf ("Begin Time: %8d ticks\n", beg); printf ("End Time: %8d ticks\n", end); printf ("Elasped Time: %8d ticks\n", elapsed); printf ("Elasped Time: %8d"ticks\n", TMR_TO_NSECS (elapsed);
|
Subtracts two times in ticks, returning the result in ticks.
|
|
Subtracts two times in tickss, returning the result in nanoseconds.
|
|
Convert a time processor time ticks to nanoseconds.
|
|
Typedef for struct _TMR_usecs_nsecs.
|
|
Convert a number of ticks to nanoseconds.
|
|
Convert a number of ticks useconds.nanoseconds.
|