Searched refs:millisPerClockTick (Results 1 – 2 of 2) sorted by relevance
43 bool parseCpuStats(const std::string& data, int32_t millisPerClockTick, CpuStats* cpuStats) { in parseCpuStats() argument66 cpuStats->userTimeMillis *= millisPerClockTick; in parseCpuStats()67 cpuStats->niceTimeMillis *= millisPerClockTick; in parseCpuStats()68 cpuStats->sysTimeMillis *= millisPerClockTick; in parseCpuStats()69 cpuStats->idleTimeMillis *= millisPerClockTick; in parseCpuStats()70 cpuStats->ioWaitTimeMillis *= millisPerClockTick; in parseCpuStats()71 cpuStats->irqTimeMillis *= millisPerClockTick; in parseCpuStats()72 cpuStats->softIrqTimeMillis *= millisPerClockTick; in parseCpuStats()73 cpuStats->stealTimeMillis *= millisPerClockTick; in parseCpuStats()74 cpuStats->guestTimeMillis *= millisPerClockTick; in parseCpuStats()[all …]
126 Result<PidStat> readPidStatFile(const std::string& path, int32_t millisPerClockTick) { in readPidStatFile() argument139 pidStat.startTimeMillis = pidStat.startTimeMillis * millisPerClockTick; in readPidStatFile()140 pidStat.cpuTimeMillis = pidStat.cpuTimeMillis * millisPerClockTick; in readPidStatFile()