Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 41) sorted by relevance

12

/kernel/sched/
Dcpufreq_schedutil.c65 static bool sugov_should_update_freq(struct sugov_policy *sg_policy, u64 time) in sugov_should_update_freq() argument
93 delta_ns = time - sg_policy->last_freq_update_time; in sugov_should_update_freq()
98 static bool sugov_update_next_freq(struct sugov_policy *sg_policy, u64 time, in sugov_update_next_freq() argument
107 sg_policy->last_freq_update_time = time; in sugov_update_next_freq()
186 static bool sugov_iowait_reset(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_reset() argument
189 s64 delta_ns = time - sg_cpu->last_update; in sugov_iowait_reset()
215 static void sugov_iowait_boost(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_boost() argument
222 sugov_iowait_reset(sg_cpu, time, set_iowait_boost)) in sugov_iowait_boost()
262 static void sugov_iowait_apply(struct sugov_cpu *sg_cpu, u64 time) in sugov_iowait_apply() argument
271 if (sugov_iowait_reset(sg_cpu, time, false)) in sugov_iowait_apply()
[all …]
Dcpufreq.c31 void (*func)(struct update_util_data *data, u64 time, in cpufreq_add_update_util_hook() argument
/kernel/
Dlatencytop.c145 latency_record[i].time += lat->time; in account_global_scheduler_latency()
146 if (lat->time > latency_record[i].max) in account_global_scheduler_latency()
147 latency_record[i].max = lat->time; in account_global_scheduler_latency()
194 lat.time = usecs; in __account_scheduler_latency()
222 mylat->time += lat.time; in __account_scheduler_latency()
223 if (lat.time > mylat->max) in __account_scheduler_latency()
224 mylat->max = lat.time; in __account_scheduler_latency()
255 lr->count, lr->time, lr->max); in lstats_show()
Dtsacct.c127 u64 time, delta; in __acct_update_integrals() local
132 time = stime + utime; in __acct_update_integrals()
133 delta = time - tsk->acct_timexpd; in __acct_update_integrals()
138 tsk->acct_timexpd = time; in __acct_update_integrals()
DKconfig.preempt24 time, but there are no guarantees and occasional longer delays
75 This option turns the kernel into a real-time kernel by replacing
85 require real-time guarantees.
105 model defined during compile time.
/kernel/trace/
Dring_buffer_benchmark.c233 unsigned long long time; in ring_buffer_producer() local
297 time = ktime_us_delta(end_time, start_time); in ring_buffer_producer()
325 trace_printk("Time: %lld (usecs)\n", time); in ring_buffer_producer()
338 do_div(time, USEC_PER_MSEC); in ring_buffer_producer()
339 if (time) in ring_buffer_producer()
340 hit /= (long)time; in ring_buffer_producer()
353 if (time) in ring_buffer_producer()
354 missed /= (long)time; in ring_buffer_producer()
DKconfig94 at build time.
101 Sort the mcount_loc section at build time.
179 bool "Boot-time Tracing support"
184 kernel cmdline at boot time for debugging (tracing) driver
229 compile time, a table is made of all the locations that ftrace
328 This option measures the time spent in irqs-off critical
352 This option measures the time spent in preemption-off critical
385 time, this tracer will detect it. This is useful for testing
391 hwlat_detector/width - time in usecs for how long to spin for
392 hwlat_detector/window - time in usecs between the start of each
[all …]
Dpreemptirq_delay_test.c39 static void busy_wait(ulong time) in busy_wait() argument
49 } while ((end - start) < (time * 1000)); in busy_wait()
Dtrace_functions_graph.c62 { TRACER_OPT(sleep-time, TRACE_GRAPH_SLEEP_TIME) },
66 { TRACER_OPT(graph-time, TRACE_GRAPH_GRAPH_TIME) },
192 u64 time = trace_clock_local(); in __trace_graph_function() local
200 .calltime = time, in __trace_graph_function()
201 .rettime = time, in __trace_graph_function()
/kernel/rcu/
DKconfig26 thousands of CPUs, but for which real-time response
37 designed for UP systems from which real-time response
209 Say Y here if you are working with real-time apps or heavy loads
218 This option specifies the time to wait after the beginning of
226 bool "Perform RCU expedited work in a real-time kthread"
246 real-time workloads. It can also be used to offload RCU
254 specified at boot time by the rcu_nocbs parameter. For each
281 bool "Offload RCU callback from real-time kthread"
307 real-time installations and for battery-powered devices,
323 Use rcutree.enable_rcu_lazy=0 to turn it off at boot time.
[all …]
/kernel/time/
Dtime.c62 SYSCALL_DEFINE1(time, __kernel_old_time_t __user *, tloc) in SYSCALL_DEFINE1() argument
303 txc->time.tv_sec = tx32.time.tv_sec; in get_old_timex32()
304 txc->time.tv_usec = tx32.time.tv_usec; in get_old_timex32()
332 tx32.time.tv_sec = txc->time.tv_sec; in put_old_timex32()
333 tx32.time.tv_usec = txc->time.tv_usec; in put_old_timex32()
Dntp.c822 txc->time.tv_sec = ts->tv_sec; in __do_adjtimex()
823 txc->time.tv_usec = ts->tv_nsec; in __do_adjtimex()
825 txc->time.tv_usec = ts->tv_nsec / NSEC_PER_USEC; in __do_adjtimex()
832 txc->time.tv_sec--; in __do_adjtimex()
837 txc->time.tv_sec++; in __do_adjtimex()
DKconfig42 # Automatically adjust the min. reprogramming time for
68 tristate "KUnit test for kernel/time functions" if !KUNIT_ALL_TESTS
116 Most of the time you want to say Y here.
Dtimekeeping.c2387 if (txc->time.tv_usec < 0) in timekeeping_validate_timex()
2391 if (txc->time.tv_usec >= NSEC_PER_SEC) in timekeeping_validate_timex()
2394 if (txc->time.tv_usec >= USEC_PER_SEC) in timekeeping_validate_timex()
2449 delta.tv_sec = txc->time.tv_sec; in do_adjtimex()
2450 delta.tv_nsec = txc->time.tv_usec; in do_adjtimex()
/kernel/kcsan/
Dreport.c80 unsigned long time; member
141 if (time_before(rt->time, use_entry->time)) in rate_limit_report()
148 if (rt->time == 0) in rate_limit_report()
152 if (time_before(rt->time, invalid_before)) in rate_limit_report()
161 use_entry->time = jiffies; in rate_limit_report()
/kernel/power/
Dsuspend_test.c79 status = rtc_read_time(rtc, &alm.time); in test_wakealarm()
84 now = rtc_tm_to_time64(&alm.time); in test_wakealarm()
87 rtc_time64_to_tm(now + TEST_SUSPEND_SECONDS, &alm.time); in test_wakealarm()
DKconfig30 user-space before invoking suspend. There's a run-time switch
157 asleep/awake for very short periods of time (<= 2 seconds).
274 CAUTION: this option will cause your machine's real-time clock to be
275 set to an invalid time after a resume.
283 APM compliant BIOSes. If you say Y here, the system time will be
/kernel/printk/
Dprintk.c1265 module_param_named(time, printk_time, bool, S_IRUGO | S_IWUSR);
1294 bool time, char *buf) in info_print_prefix() argument
1301 if (time) in info_print_prefix()
1306 if (IS_ENABLED(CONFIG_PRINTK_CALLER) || time) { in info_print_prefix()
1332 bool time) in record_print_text() argument
1351 prefix_len = info_print_prefix(r->info, syslog, time, prefix); in record_print_text()
1434 bool syslog, bool time) in get_record_print_text_size() argument
1439 prefix_len = info_print_prefix(info, syslog, time, prefix); in get_record_print_text_size()
1457 bool syslog, bool time) in find_first_fitting_seq() argument
1468 len += get_record_print_text_size(&info, line_count, syslog, time); in find_first_fitting_seq()
[all …]
/kernel/futex/
Dsyscalls.c255 ktime_t time; in SYSCALL_DEFINE5() local
283 ret = futex_init_timeout(FUTEX_WAIT_BITSET, flag_init, &ts, &time); in SYSCALL_DEFINE5()
287 futex_setup_timer(&time, &to, flag_clkid, 0); in SYSCALL_DEFINE5()
Dfutex.h123 futex_setup_timer(ktime_t *time, struct hrtimer_sleeper *timeout,
292 extern int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock);
Dcore.c136 futex_setup_timer(ktime_t *time, struct hrtimer_sleeper *timeout, in futex_setup_timer() argument
139 if (!time) in futex_setup_timer()
149 hrtimer_set_expires_range_ns(&timeout->timer, *time, range_ns); in futex_setup_timer()
Dwaitwake.c688 restart->futex.time = *abs_time; in futex_wait()
709 t = restart->futex.time; in futex_wait_restart()
Dpi.c930 int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock) in futex_lock_pi() argument
945 to = futex_setup_timer(time, &timeout, flags, 0); in futex_lock_pi()
/kernel/configs/
Ddebug.config17 # Compile-time checks and compiler options
/kernel/locking/
Dlockdep_proc.c441 static void seq_time(struct seq_file *m, s64 time) in seq_time() argument
445 snprint_time(num, sizeof(num), time); in seq_time()

12