Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/cpufreq/
Dpowernv-cpufreq.c88 unsigned int elapsed_time; member
230 gpstates->elapsed_time = 0; in reset_gpstates()
620 static inline int calc_global_pstate(unsigned int elapsed_time, in calc_global_pstate() argument
633 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 …]
/linux-4.19.296/drivers/s390/cio/
Dcmf.c582 u64 utilization, elapsed_time; in __cmb_utilization() local
588 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()
/linux-4.19.296/fs/f2fs/
Dsegment.h247 unsigned long long elapsed_time; /* elapsed time after mount */ member
762 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()
Dcheckpoint.c1310 ckpt->elapsed_time = cpu_to_le64(get_mtime(sbi, true)); in do_checkpoint()
Dsegment.c3845 sit_i->elapsed_time = le64_to_cpu(sbi->ckpt->elapsed_time); in build_sit_info()
/linux-4.19.296/drivers/misc/
Dds1682.c139 static SENSOR_DEVICE_ATTR_2(elapsed_time, S_IRUGO | S_IWUSR, ds1682_show,
/linux-4.19.296/block/
Dblk-throttle.c1973 unsigned long elapsed_time; in throtl_downgrade_check() local
1984 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()
/linux-4.19.296/include/linux/
Df2fs_fs.h158 __le64 elapsed_time; /* mounted time */ member