Searched refs:cur_duration (Results 1 – 1 of 1) sorted by relevance
783 uint64_t cur_usage[8], cur_duration[8]; in main() local838 memset(cur_duration, 0, sizeof(cur_duration)); in main()876 read_data(&cur_usage[0], &cur_duration[0]); in main()882 totalticks += cur_duration[i] - last_duration[i]; in main()912 sleept = (cur_duration[i] - last_duration[i]) / (cur_usage[i] - last_usage[i] in main()914 percentage = (cur_duration[i] - in main()1166 read_data(&cur_usage[0], &cur_duration[0]); in main()1168 memcpy(last_duration, cur_duration, sizeof(last_duration)); in main()