Home
last modified time | relevance | path

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

/external/autotest/client/profilers/powertop/src/
Dpowertop.c850 int64_t totalevents; in main() local
879 totalevents = 0; in main()
883 totalevents += cur_usage[i] - last_usage[i]; in main()
897 if (totalevents == 0 && maxcstate <= 1) { in main()
1004 if (totalevents == 0) { /* No c-state info available, use timerstats instead */ in main()
1005 totalevents = d * sysconf(_SC_NPROCESSORS_ONLN) + total_interrupt; in main()
1007 totalevents += interrupt_0 - d; in main()
1014 if (totalevents && ticktime) { in main()
1015 wakeups_per_second = totalevents * 1.0 / ticktime / sysconf(_SC_NPROCESSORS_ONLN); in main()