Home
last modified time | relevance | path

Searched refs:millisPerClockTick (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/cpp/watchdog/server/src/
DProcStatCollector.cpp43 bool parseCpuStats(const std::string& data, int32_t millisPerClockTick, CpuStats* cpuStats) { in parseCpuStats() argument
66 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 …]
DUidProcStatsCollector.cpp126 Result<PidStat> readPidStatFile(const std::string& path, int32_t millisPerClockTick) { in readPidStatFile() argument
139 pidStat.startTimeMillis = pidStat.startTimeMillis * millisPerClockTick; in readPidStatFile()
140 pidStat.cpuTimeMillis = pidStat.cpuTimeMillis * millisPerClockTick; in readPidStatFile()