Searched refs:elapsed_time (Results 1 – 8 of 8) sorted by relevance
88 unsigned int elapsed_time; member230 gpstates->elapsed_time = 0; in reset_gpstates()620 static inline int calc_global_pstate(unsigned int elapsed_time, in calc_global_pstate() argument633 index_diff = ((int)ramp_down_percent(elapsed_time) * in calc_global_pstate()653 if ((gpstates->elapsed_time + GPSTATE_TIMER_INTERVAL) in queue_gpstate_timer()655 timer_interval = MAX_RAMP_DOWN_TIME - gpstates->elapsed_time; in queue_gpstate_timer()709 gpstates->elapsed_time += time_diff; in gpstate_timer_handler()711 if (gpstates->elapsed_time > MAX_RAMP_DOWN_TIME) { in gpstate_timer_handler()718 gpstate_idx = calc_global_pstate(gpstates->elapsed_time, in gpstate_timer_handler()777 gpstates->elapsed_time += cur_msec - in powernv_cpufreq_target_index()[all …]
582 u64 utilization, elapsed_time; in __cmb_utilization() local588 elapsed_time = get_tod_clock() - start_time; in __cmb_utilization()589 elapsed_time = tod_to_ns(elapsed_time); in __cmb_utilization()590 elapsed_time /= 1000; in __cmb_utilization()592 return elapsed_time ? (utilization / elapsed_time) : 0; in __cmb_utilization()675 data->elapsed_time = tod_to_ns(time); in readall_cmb()934 data->elapsed_time = tod_to_ns(time); in readall_cmbe()
247 unsigned long long elapsed_time; /* elapsed time after mount */ member762 return sit_i->elapsed_time + now - sit_i->mounted_time; in get_mtime()767 if (sit_i->elapsed_time >= diff) in get_mtime()768 return sit_i->elapsed_time - diff; in get_mtime()771 return sit_i->elapsed_time; in get_mtime()
1310 ckpt->elapsed_time = cpu_to_le64(get_mtime(sbi, true)); in do_checkpoint()
3845 sit_i->elapsed_time = le64_to_cpu(sbi->ckpt->elapsed_time); in build_sit_info()
139 static SENSOR_DEVICE_ATTR_2(elapsed_time, S_IRUGO | S_IWUSR, ds1682_show,
1973 unsigned long elapsed_time; in throtl_downgrade_check() local1984 elapsed_time = now - tg->last_check_time; in throtl_downgrade_check()1993 do_div(bps, elapsed_time); in throtl_downgrade_check()2000 do_div(bps, elapsed_time); in throtl_downgrade_check()2006 iops = tg->last_io_disp[READ] * HZ / elapsed_time; in throtl_downgrade_check()2012 iops = tg->last_io_disp[WRITE] * HZ / elapsed_time; in throtl_downgrade_check()
158 __le64 elapsed_time; /* mounted time */ member