Home
last modified time | relevance | path

Searched refs:PidStat (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/watchdog/server/src/
DProcPidStat.h45 struct PidStat { struct
58 PidStat process = {}; // Aggregated stats across all the threads argument
59 std::unordered_map<uint32_t, PidStat> threads; // Per-thread stat including the main thread
DProcPidStat.cpp62 bool parsePidStatLine(const std::string& line, PidStat* pidStat) { in parsePidStatLine()
101 Result<void> readPidStatFile(const std::string& path, PidStat* pidStat) { in readPidStatFile()
233 PidStat curThreadStat = {}; in getProcessStatsLocked()
256 curStats.threads[curStats.process.pid] = PidStat{ in getProcessStatsLocked()
/packages/services/Car/watchdog/server/tests/
DProcPidStatTest.cpp39 std::string toString(const PidStat& stat) { in toString()
68 bool isEqual(const PidStat& lhs, const PidStat& rhs) { in isEqual()