#include <GLTcontribution.h>
Inheritance diagram for GLTcontribution:
Public Member Functions | |
char * | data () |
Return a pointer to the contribution's payload. | |
const struct timespec * | timeStamp () const |
Return the timespec structure found in the data. | |
const OSWtimeBase * | timebase () const |
Return the 64 bit timebase value found in the data as two unsigneds. |
This class provides access to software generated time stamps.
This class exists to support data taken before the GASU came into existance. Data that falls into this catagory is labeled with the EBFevent::ID_1 typeId. Data taken after this point contains this time stamp information as well, but in the form of an OSWtimeContribution.
Copyright: Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.
|
Return a pointer to the contribution's payload.
|
|
Return the 64 bit timebase value found in the data as two unsigneds. The timebase value comes from a PPC register that increments at a rate given by the board's implementation. Ric hasn't been able to find any supporting documentation giving the rate, but one measurement gives 16.6667 MHz.
|
|
Return the timespec structure found in the data. The timestamp value comes from the VxWorks real-time clock. The clock is periodically updated. The period is settable through software, but defaults to 60 Hz.
|