Searched refs:active_time (Results 1 – 1 of 1) sorted by relevance
74 time_t active_time = 0; in measure() local96 if (last_state == 1) active_time += time_diff; in measure()115 tmp = (float)active_time / (float)total_time * 100; in measure()116 printf(" Time in active state: %lus (%.2f%%)\n", active_time, tmp); in measure()