Home
last modified time | relevance | path

Searched refs:ticksPerSec (Results 1 – 5 of 5) sorted by relevance

/openbmc/google-misc/subprojects/metrics-ipmi-blobs/
H A Dmetric.cpp40 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 Dutil.cpp132 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 Dutil.hpp42 long ticksPerSec);
46 TcommUtimeStime getTcommUtimeStime(int pid, long ticksPerSec);
H A Dmetric.hpp68 long ticksPerSec; member in metric_blob::BmcHealthSnapshot
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/test/
H A Dutil_test.cpp60 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()