Home
last modified time | relevance | path

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

/external/autotest/client/profilers/powertop/src/
Dpowertop.c783 uint64_t cur_usage[8], cur_duration[8]; in main() local
837 memset(cur_usage, 0, sizeof(cur_usage)); in main()
876 read_data(&cur_usage[0], &cur_duration[0]); in main()
881 if (cur_usage[i]) { in main()
883 totalevents += cur_usage[i] - last_usage[i]; in main()
911 if (cur_usage[i]) { in main()
912 sleept = (cur_duration[i] - last_duration[i]) / (cur_usage[i] - last_usage[i] in main()
1166 read_data(&cur_usage[0], &cur_duration[0]); in main()
1167 memcpy(last_usage, cur_usage, sizeof(last_usage)); in main()