Searched refs:pwr (Results 1 – 1 of 1) sorted by relevance
355 struct power_event *pwr = zalloc(sizeof(*pwr)); in c_state_end() local357 if (!pwr) in c_state_end()360 pwr->state = cpus_cstate_state[cpu]; in c_state_end()361 pwr->start_time = cpus_cstate_start_times[cpu]; in c_state_end()362 pwr->end_time = timestamp; in c_state_end()363 pwr->cpu = cpu; in c_state_end()364 pwr->type = CSTATE; in c_state_end()365 pwr->next = tchart->power_events; in c_state_end()367 tchart->power_events = pwr; in c_state_end()372 struct power_event *pwr; in p_state_change() local[all …]