Lines Matching defs:stats
221 struct Stats {
239 std::map<int, Stats> statsMap;
240 // Init stats map
241 Stats emptyStat {0, 0., 0, 0};
274 Stats& stats = statsMap[newerSample->timestamp()];
275 stats.uptime = newerSample->uptime();
276 stats.cpu += cpuLoad;
277 stats.rbytes += (newerSample->readbytes() - olderSample->readbytes());
278 stats.wbytes += (newerSample->writebytes() - olderSample->writebytes());