Home
last modified time | relevance | path

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

12

/kernel/sched/
Dcpufreq_schedutil.c70 static bool sugov_should_update_freq(struct sugov_policy *sg_policy, u64 time) in sugov_should_update_freq() argument
98 delta_ns = time - sg_policy->last_freq_update_time; in sugov_should_update_freq()
103 static bool sugov_update_next_freq(struct sugov_policy *sg_policy, u64 time, in sugov_update_next_freq() argument
114 sg_policy->last_freq_update_time = time; in sugov_update_next_freq()
119 static void sugov_fast_switch(struct sugov_policy *sg_policy, u64 time, in sugov_fast_switch() argument
122 if (sugov_update_next_freq(sg_policy, time, next_freq)) in sugov_fast_switch()
126 static void sugov_deferred_update(struct sugov_policy *sg_policy, u64 time, in sugov_deferred_update() argument
129 if (!sugov_update_next_freq(sg_policy, time, next_freq)) in sugov_deferred_update()
312 static bool sugov_iowait_reset(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_reset() argument
315 s64 delta_ns = time - sg_cpu->last_update; in sugov_iowait_reset()
[all …]
Dcpufreq.c34 void (*func)(struct update_util_data *data, u64 time, in cpufreq_add_update_util_hook() argument
/kernel/
Dlatencytop.c119 latency_record[i].time += lat->time; in account_global_scheduler_latency()
120 if (lat->time > latency_record[i].max) in account_global_scheduler_latency()
121 latency_record[i].max = lat->time; in account_global_scheduler_latency()
168 lat.time = usecs; in __account_scheduler_latency()
196 mylat->time += lat.time; in __account_scheduler_latency()
197 if (lat.time > mylat->max) in __account_scheduler_latency()
198 mylat->max = lat.time; in __account_scheduler_latency()
229 lr->count, lr->time, lr->max); in lstats_show()
Dtsacct.c121 u64 time, delta; in __acct_update_integrals() local
126 time = stime + utime; in __acct_update_integrals()
127 delta = time - tsk->acct_timexpd; in __acct_update_integrals()
132 tsk->acct_timexpd = time; in __acct_update_integrals()
DKconfig.preempt12 time, but there are no guarantees and occasional longer delays
63 This option turns the kernel into a real-time kernel by replacing
73 require real-time guarantees.
Daudit.h197 } time; member
/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()
DKconfig153 bool "Boot-time Tracing support"
158 kernel cmdline at boot time for debugging (tracing) driver
202 compile time, a table is made of all the locations that ftrace
282 This option measures the time spent in irqs-off critical
307 This option measures the time spent in preemption-off critical
339 time, this tracer will detect it. This is useful for testing
345 hwlat_detector/width - time in usecs for how long to spin for
346 hwlat_detector/window - time in usecs between the start of each
362 file. Every time a latency is greater than tracing_thresh, it will
373 default and can be enabled at run-time.
[all …]
Dpreemptirq_delay_test.c36 static void busy_wait(ulong time) in busy_wait() argument
44 } 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) },
193 u64 time = trace_clock_local(); in __trace_graph_function() local
201 .calltime = time, in __trace_graph_function()
202 .rettime = time, in __trace_graph_function()
Dring_buffer.c486 local64_t time; member
744 *ret = local64_read(&t->time); in rb_time_read()
749 local64_set(&t->time, val); in rb_time_set()
755 val = local64_cmpxchg(&t->time, expect, set); in rb_time_cmpxchg()
1087 u64 time; in ring_buffer_time_stamp() local
1090 time = rb_time_stamp(buffer); in ring_buffer_time_stamp()
1093 return time; in ring_buffer_time_stamp()
/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.c774 txc->time.tv_sec = ts->tv_sec; in __do_adjtimex()
775 txc->time.tv_usec = ts->tv_nsec; in __do_adjtimex()
777 txc->time.tv_usec = ts->tv_nsec / NSEC_PER_USEC; in __do_adjtimex()
784 txc->time.tv_sec--; in __do_adjtimex()
789 txc->time.tv_sec++; in __do_adjtimex()
DKconfig46 # Automatically adjust the min. reprogramming time for
97 Most of the time you want to say Y here.
Dtimekeeping.c2359 if (txc->time.tv_usec < 0) in timekeeping_validate_timex()
2363 if (txc->time.tv_usec >= NSEC_PER_SEC) in timekeeping_validate_timex()
2366 if (txc->time.tv_usec >= USEC_PER_SEC) in timekeeping_validate_timex()
2420 delta.tv_sec = txc->time.tv_sec; in do_adjtimex()
2421 delta.tv_nsec = txc->time.tv_usec; in do_adjtimex()
Dtimeconst.bc44 print "/* Automatically generated by kernel/time/timeconst.bc */\n"
/kernel/kcsan/
Dreport.c73 unsigned long time; member
134 if (time_before(rt->time, use_entry->time)) in rate_limit_report()
141 if (rt->time == 0) in rate_limit_report()
145 if (time_before(rt->time, invalid_before)) in rate_limit_report()
154 use_entry->time = jiffies; in rate_limit_report()
/kernel/printk/
Dprintk.c1296 module_param_named(time, printk_time, bool, S_IRUGO | S_IWUSR);
1325 bool time, char *buf) in info_print_prefix() argument
1332 if (time) in info_print_prefix()
1337 if (IS_ENABLED(CONFIG_PRINTK_CALLER) || time) { in info_print_prefix()
1363 bool time) in record_print_text() argument
1382 prefix_len = info_print_prefix(r->info, syslog, time, prefix); in record_print_text()
1465 bool syslog, bool time) in get_record_print_text_size() argument
1470 prefix_len = info_print_prefix(info, syslog, time, prefix); in get_record_print_text_size()
1556 bool time; in syslog_print_all() local
1562 time = printk_time; in syslog_print_all()
[all …]
/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
256 CAUTION: this option will cause your machine's real-time clock to be
257 set to an invalid time after a resume.
265 APM compliant BIOSes. If you say Y here, the system time will be
/kernel/rcu/
DKconfig24 thousands of CPUs, but for which real-time response
35 designed for UP systems from which real-time response
200 Say Y here if you are working with real-time apps or heavy loads
209 This option specifies the time to wait after the beginning of
223 real-time workloads. It can also be used to offload RCU
228 specified at boot time by the rcu_nocbs parameter. For each
251 real-time installations and for battery-powered devices,
DKconfig.debug125 scalability, destroys real-time response, degrades battery
/kernel/futex/
Dcore.c402 futex_setup_timer(ktime_t *time, struct hrtimer_sleeper *timeout, in futex_setup_timer() argument
405 if (!time) in futex_setup_timer()
415 hrtimer_set_expires_range_ns(&timeout->timer, *time, range_ns); in futex_setup_timer()
2755 restart->futex.time = *abs_time; in futex_wait()
2777 t = restart->futex.time; in futex_wait_restart()
2797 ktime_t *time, int trylock) in futex_lock_pi() argument
2812 to = futex_setup_timer(time, &timeout, FLAGS_CLOCKRT, 0); in futex_lock_pi()
/kernel/locking/
Dlockdep_proc.c439 static void seq_time(struct seq_file *m, s64 time) in seq_time() argument
443 snprint_time(num, sizeof(num), time); in seq_time()
/kernel/irq/
DKconfig150 Allow to specify the low level IRQ handler at run time.

12