Searched refs:ticksPerSec (Results 1 – 5 of 5) sorted by relevance
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/ |
H A D | metric.cpp | 40 done(false), stringId(0), ticksPerSec(0) in BmcHealthSnapshot() 102 BmcHealthSnapshot& obj, long ticksPerSec, in getProcStatMetric() argument 106 if (ticksPerSec == 0) in getProcStatMetric() 125 TcommUtimeStime t = getTcommUtimeStime(pid, ticksPerSec); in getProcStatMetric() 229 BmcHealthSnapshot& obj, long ticksPerSec, in getFdStatMetric() argument 233 if (ticksPerSec == 0) in getFdStatMetric() 252 TcommUtimeStime t = getTcommUtimeStime(pid, ticksPerSec); in getFdStatMetric() 440 ticksPerSec = getTicksPerSec(); in doWork() 483 .procstat_metric = getProcStatMetric(*this, ticksPerSec, procs, in doWork() 486 .fdstat_metric = getFdStatMetric(*this, ticksPerSec, fds, in doWork()
|
H A D | util.cpp | 132 const long ticksPerSec) in parseTcommUtimeStimeString() argument 138 const float invTicksPerSec = 1.0f / static_cast<float>(ticksPerSec); in parseTcommUtimeStimeString() 185 if (ticksPerSec <= 0) in parseTcommUtimeStimeString() 193 TcommUtimeStime getTcommUtimeStime(const int pid, const long ticksPerSec) in getTcommUtimeStime() argument 197 ticksPerSec); in getTcommUtimeStime()
|
H A D | util.hpp | 42 long ticksPerSec); 46 TcommUtimeStime getTcommUtimeStime(int pid, long ticksPerSec);
|
H A D | metric.hpp | 68 long ticksPerSec; member in metric_blob::BmcHealthSnapshot
|
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/test/ |
H A D | util_test.cpp | 60 const long ticksPerSec = 100; in TEST() local 69 metric_blob::parseTcommUtimeStimeString(content, ticksPerSec); in TEST() 79 const long ticksPerSec = 100; in TEST() local 85 metric_blob::parseTcommUtimeStimeString(content, ticksPerSec); in TEST()
|