Home
last modified time | relevance | path

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

/packages/services/Car/cpp/watchdog/server/src/
DUidProcStatsCollector.cpp456 auto prevProcessStats = it->second; in collect() local
457 if (prevProcessStats.cpuTimeMillis <= deltaProcessStats.cpuTimeMillis) { in collect()
458 deltaProcessStats.cpuTimeMillis -= prevProcessStats.cpuTimeMillis; in collect()
460 if (prevProcessStats.totalMajorFaults <= deltaProcessStats.totalMajorFaults) { in collect()
461 deltaProcessStats.totalMajorFaults -= prevProcessStats.totalMajorFaults; in collect()
468 if (const auto& cIt = prevProcessStats.cpuCyclesByTid.find(tid); in collect()
469 cIt != prevProcessStats.cpuCyclesByTid.end() && in collect()