Searched refs:last_state (Results 1 – 2 of 2) sorted by relevance
69 int last_state; in measure() local83 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()
267 int last_state; member2119 if (r->last_state == TASK_RUNNING) in timehist_update_runtime_stats()2121 else if (r->last_state == TASK_UNINTERRUPTIBLE) in timehist_update_runtime_stats()2640 tr->last_state = state; in timehist_sched_change_event()