Searched refs:collector (Results 1 – 2 of 2) sorted by relevance
/hardware/google/pixel/pwrstats_util/ |
D | pwrstats_util.cpp | 88 static void snapshot(const Options& opt, const PowerStatsCollector& collector) { in snapshot() argument 90 int ret = collector.get(&stats); in snapshot() 96 collector.dump(stats, &std::cout); in snapshot() 106 static void daemon(const Options& opt, const PowerStatsCollector& collector) { in daemon() argument 165 int ret = collector.get(&start_stats); in daemon() 178 ret = collector.get(start_stats, &interval_stats); in daemon() 195 collector.dump(interval_stats, &myfile); in daemon() 207 static void runWithOptions(const Options& opt, const PowerStatsCollector& collector) { in runWithOptions() argument 209 daemon(opt, collector); in runWithOptions() 211 snapshot(opt, collector); in runWithOptions() [all …]
|
D | PowerStatsCollector.h | 62 int run(int argc, char** argv, const PowerStatsCollector& collector);
|