#include <TimeSpec.h>
Public Member Functions | |
timespec | get_timespec () const |
void | set_tv_nsec (long value) |
void | set_tv_sec (long value) |
TimeSpec (timespec const &ts) | |
TimeSpec (long tv_sec, long tv_nsec) | |
TimeSpec () | |
long | tv_nsec () const |
long | tv_sec () const |
Private Attributes | |
long | tv_nsec_ |
long | tv_sec_ |
Definition at line 7 of file TimeSpec.h.
TimeSpec::TimeSpec | ( | ) | [inline] |
Definition at line 11 of file TimeSpec.h.
TimeSpec::TimeSpec | ( | long | tv_sec, |
long | tv_nsec | ||
) | [inline] |
TimeSpec::TimeSpec | ( | timespec const & | ts | ) | [inline] |
Definition at line 19 of file TimeSpec.h.
timespec TimeSpec::get_timespec | ( | ) | const |
Definition at line 4 of file TimeSpec.cc.
References tv_nsec_, and tv_sec_.
Referenced by Level1TriggerScalers::collectionTime(), BeamSpotOnline::collectionTime(), Level1TriggerRates::collectionTime(), DcsStatus::collectionTime(), LumiScalers::collectionTime(), L1TriggerScalers::collectionTimeDetails(), L1TriggerRates::collectionTimeDetails(), Level1TriggerScalers::collectionTimeLumiSeg(), Level1TriggerRates::collectionTimeLumiSeg(), L1TriggerScalers::collectionTimeSpecial(), L1TriggerRates::collectionTimeSummary(), and L1TriggerScalers::collectionTimeSummary().
void TimeSpec::set_tv_nsec | ( | long | value | ) | [inline] |
Definition at line 27 of file TimeSpec.h.
References tv_nsec_, and relativeConstraints::value.
Referenced by BeamSpotOnline::BeamSpotOnline(), Level1TriggerRates::computeRates(), L1TriggerRates::computeRunRates(), DcsStatus::DcsStatus(), L1TriggerScalers::L1TriggerScalers(), Level1TriggerScalers::Level1TriggerScalers(), and LumiScalers::LumiScalers().
void TimeSpec::set_tv_sec | ( | long | value | ) | [inline] |
Definition at line 26 of file TimeSpec.h.
References tv_sec_, and relativeConstraints::value.
Referenced by BeamSpotOnline::BeamSpotOnline(), Level1TriggerRates::computeRates(), L1TriggerRates::computeRunRates(), DcsStatus::DcsStatus(), L1TriggerScalers::L1TriggerScalers(), Level1TriggerScalers::Level1TriggerScalers(), and LumiScalers::LumiScalers().
long TimeSpec::tv_nsec | ( | ) | const [inline] |
long TimeSpec::tv_sec | ( | ) | const [inline] |
long TimeSpec::tv_nsec_ [private] |
Definition at line 34 of file TimeSpec.h.
Referenced by get_timespec(), set_tv_nsec(), and tv_nsec().
long TimeSpec::tv_sec_ [private] |
Definition at line 33 of file TimeSpec.h.
Referenced by get_timespec(), set_tv_sec(), and tv_sec().