ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
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, 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, and e6.
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 |