Lines Matching defs:time
102 * @tsc: Difference of time stamp counter between last and
104 * @time: Current time from scheduler
115 u64 time;
199 * @last_sample_time: Last Sample time
204 * @prev_cummulative_iowait: IO Wait time difference from last and
220 * @last_io_update: Last time when IO wake flag was set
373 * update them at any time after it has been called.
755 * intel_pstate_hwp_boost_down() at any time.
2084 * Long hold time will keep high perf limits for long time,
2100 * Cases to consider (User changes via sysfs or boot time):
2135 cpu->last_update = cpu->sample.time;
2143 /* Check if we are idle for hold time to boost down */
2144 expired = time_after64(cpu->sample.time, cpu->last_update +
2151 cpu->last_update = cpu->sample.time;
2155 u64 time)
2157 cpu->sample.time = time;
2164 * Set iowait_boost flag and update time. Since IO WAIT flag
2165 * is set all the time, we can't just conclude that there is
2170 if (time_before64(time, cpu->last_io_update + 2 * TICK_NSEC))
2173 cpu->last_io_update = time;
2184 u64 time, unsigned int flags)
2191 intel_pstate_update_util_hwp_local(cpu, time);
2201 static inline bool intel_pstate_sample(struct cpudata *cpu, u64 time)
2217 cpu->last_sample_time = cpu->sample.time;
2218 cpu->sample.time = time;
2230 * First time this function is invoked in a given cycle, all of the
2233 * that sample.time will always be reset before setting the utilization
2331 static void intel_pstate_update_util(struct update_util_data *data, u64 time,
2341 delta_ns = time - cpu->last_update;
2360 cpu->last_update = time;
2361 delta_ns = time - cpu->sample.time;
2365 if (intel_pstate_sample(cpu, time))
2509 cpu->sample.time = 0;