Home
last modified time | relevance | path

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

/Documentation/laptops/
Ddslm.c69 int last_state; in measure() local
83 last_state = check_powermode(fd); in measure()
85 printf(" System is in state %s\n\n", state_name(last_state)); in measure()
91 if (curr_state != last_state || endit) { in measure()
96 if (last_state == 1) active_time += time_diff; in measure()
97 else if (last_state == 0) sleep_time += time_diff; in measure()
100 last_state = curr_state; in measure()