Home
last modified time | relevance | path

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

/system/extras/boottime_tools/bootio/
Dbootio_collector.cpp251 const AppSample *olderSample = NULL; in PrintPids() local
255 olderSample = newerSample; in PrintPids()
257 if (olderSample == NULL) { in PrintPids()
258 olderSample = bootZeroSample.get(); in PrintPids()
266 cpuDataMap[olderSample->timestamp()]; in PrintPids()
269 cpuLoad = (newerSample->utime() - olderSample->utime() + in PrintPids()
270 newerSample->stime() - olderSample->stime()) * 100. / cpuDelta; in PrintPids()
275 stats.rbytes += (newerSample->readbytes() - olderSample->readbytes()); in PrintPids()
276 stats.wbytes += (newerSample->writebytes() - olderSample->writebytes()); in PrintPids()
281 olderSample->uptime(), in PrintPids()
[all …]