Home
last modified time | relevance | path

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

/system/extras/boottime_tools/bootio/
Dbootio_collector.cpp252 const AppSample *newerSample = NULL; in PrintPids() local
255 olderSample = newerSample; in PrintPids()
256 newerSample = &(appData.samples(j)); in PrintPids()
263 cpuDelta = cpuDataMap[newerSample->timestamp()]; in PrintPids()
265 cpuDelta = cpuDataMap[newerSample->timestamp()] - in PrintPids()
269 cpuLoad = (newerSample->utime() - olderSample->utime() + in PrintPids()
270 newerSample->stime() - olderSample->stime()) * 100. / cpuDelta; in PrintPids()
272 Stats& stats = statsMap[newerSample->timestamp()]; in PrintPids()
273 stats.uptime = newerSample->uptime(); in PrintPids()
275 stats.rbytes += (newerSample->readbytes() - olderSample->readbytes()); in PrintPids()
[all …]