Analysis Software
Documentation for sPHENIX simulation software
|
internal frequency read from cpu information file More...
Public Member Functions | |
Frequency () | |
constructor | |
operator double () const | |
frequency accessor | |
double | period () const |
period accessor | |
Private Member Functions | |
void | set_cpu_freq (const std::string &cpuinfopath="/proc/cpuinfo") |
read pc frequency from cpuinfo place | |
Private Attributes | |
double | _frequency |
pc frequency | |
double | _period |
pc period | |
internal frequency read from cpu information file
Definition at line 149 of file PHTimer.h.
View newest version in sPHENIX GitHub at line 149 of file PHTimer.h
|
inline |
constructor
Definition at line 153 of file PHTimer.h.
View newest version in sPHENIX GitHub at line 153 of file PHTimer.h
References _frequency, _period, Acts::UnitConstants::e, and set_cpu_freq().
|
inline |
frequency accessor
Definition at line 167 of file PHTimer.h.
View newest version in sPHENIX GitHub at line 167 of file PHTimer.h
References _frequency.
|
inline |
|
private |
read pc frequency from cpuinfo place
Definition at line 25 of file PHTimer.cc.
View newest version in sPHENIX GitHub at line 25 of file PHTimer.cc
References _frequency.
Referenced by Frequency().
|
private |
pc frequency
Definition at line 180 of file PHTimer.h.
View newest version in sPHENIX GitHub at line 180 of file PHTimer.h
Referenced by Frequency(), operator double(), and set_cpu_freq().
|
private |