| /kernel/sched/ |
| A D | cpufreq_schedutil.c | 106 delta_ns = time - sg_policy->last_freq_update_time; in sugov_should_update_freq() 132 sg_policy->last_freq_update_time = time; in sugov_update_next_freq() 252 s64 delta_ns = time - sg_cpu->last_update; in sugov_iowait_reset() 334 if (sugov_iowait_reset(sg_cpu, time, false)) in sugov_iowait_apply() 400 u64 time, unsigned long max_cap, in sugov_update_single_common() argument 405 sugov_iowait_boost(sg_cpu, time, flags); in sugov_update_single_common() 406 sg_cpu->last_update = time; in sugov_update_single_common() 473 sugov_update_single_freq(hook, time, flags); in sugov_update_single_perf() 522 sugov_iowait_boost(sg_cpu, time, flags); in sugov_update_shared() 523 sg_cpu->last_update = time; in sugov_update_shared() [all …]
|
| A D | cpufreq.c | 31 void (*func)(struct update_util_data *data, u64 time, in cpufreq_add_update_util_hook() argument
|
| /kernel/ |
| A D | latencytop.c | 144 latency_record[i].time += lat->time; in account_global_scheduler_latency() 145 if (lat->time > latency_record[i].max) in account_global_scheduler_latency() 146 latency_record[i].max = lat->time; in account_global_scheduler_latency() 193 lat.time = usecs; in __account_scheduler_latency() 221 mylat->time += lat.time; in __account_scheduler_latency() 222 if (lat.time > mylat->max) in __account_scheduler_latency() 223 mylat->max = lat.time; in __account_scheduler_latency() 254 lr->count, lr->time, lr->max); in lstats_show()
|
| A D | tsacct.c | 127 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()
|
| A D | Kconfig.preempt | 28 time, but there are no guarantees and occasional longer delays 94 This option turns the kernel into a real-time kernel by replacing 104 require real-time guarantees. 122 model defined during compile time.
|
| /kernel/trace/ |
| A D | ring_buffer_benchmark.c | 235 unsigned long long time; in ring_buffer_producer() local 299 time = ktime_us_delta(end_time, start_time); in ring_buffer_producer() 327 trace_printk("Time: %lld (usecs)\n", time); in ring_buffer_producer() 340 do_div(time, USEC_PER_MSEC); in ring_buffer_producer() 341 if (time) in ring_buffer_producer() 342 hit /= (long)time; in ring_buffer_producer() 355 if (time) in ring_buffer_producer() 356 missed /= (long)time; in ring_buffer_producer()
|
| A D | Kconfig | 119 at build time. 126 Sort the mcount_loc section at build time. 217 bool "Boot-time Tracing support" 402 This option measures the time spent in irqs-off critical 532 the current time and the absolute time that the timer was set 556 default and can be enabled at run-time. 1143 bool "Verify ring buffer time stamp deltas" 1146 This will audit the time stamps on the ring buffer sub 1147 buffer to make sure that all the time deltas for the 1148 events on a sub buffer matches the current time stamp. [all …]
|
| A D | preemptirq_delay_test.c | 37 static void busy_wait(ulong time) in busy_wait() argument 47 } while ((end - start) < (time * 1000)); in busy_wait()
|
| A D | trace_functions_graph.c | 79 { TRACER_OPT(sleep-time, TRACE_GRAPH_SLEEP_TIME) }, 83 { TRACER_OPT(graph-time, TRACE_GRAPH_GRAPH_TIME) }, 287 u64 time = trace_clock_local(); in __trace_graph_function() local 298 __trace_graph_return(tr, &ret, trace_ctx, time, time); in __trace_graph_function()
|
| /kernel/trace/rv/monitors/rtapp/ |
| A D | Kconfig | 6 Collection of monitors to check for common problems with real-time 9 If you are developing a real-time system and not entirely sure whether 10 the applications are designed correctly for real-time, you want to say
|
| /kernel/trace/rv/monitors/sleep/ |
| A D | Kconfig | 13 Monitor that real-time tasks do not sleep in a manner that may 16 If you are developing a real-time system and not entirely sure whether 17 the applications are designed correctly for real-time, you want to say
|
| /kernel/trace/rv/monitors/pagefault/ |
| A D | Kconfig | 12 Monitor that real-time tasks do not raise page faults, causing 15 If you are developing a real-time system and not entirely sure whether 16 the applications are designed correctly for real-time, you want to say
|
| /kernel/time/ |
| A D | time.c | 62 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()
|
| A D | Kconfig | 42 # 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. 220 provide e.g. lockless time accessors to independent PTP clocks 222 notion of time.
|
| A D | ntp.c | 829 txc->time.tv_sec = ts->tv_sec; in ntp_adjtimex() 830 txc->time.tv_usec = ts->tv_nsec; in ntp_adjtimex() 832 txc->time.tv_usec = ts->tv_nsec / NSEC_PER_USEC; in ntp_adjtimex() 839 txc->time.tv_sec--; in ntp_adjtimex() 844 txc->time.tv_sec++; in ntp_adjtimex()
|
| /kernel/bpf/ |
| A D | rqspinlock.c | 219 u64 time = ktime_get_mono_fast_ns(); in check_timeout() local 223 ts->cur = time; in check_timeout() 224 ts->timeout_end = time + ts->duration; in check_timeout() 228 if (time > ts->timeout_end) in check_timeout() 235 if (prev + NSEC_PER_MSEC < time) { in check_timeout() 236 ts->cur = time; in check_timeout()
|
| /kernel/kcsan/ |
| A D | report.c | 80 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/ |
| A D | suspend_test.c | 79 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()
|
| A D | Kconfig | 30 user-space before invoking suspend. There's a run-time switch 178 asleep/awake for very short periods of time (<= 2 seconds). 314 CAUTION: this option will cause your machine's real-time clock to be 315 set to an invalid time after a resume. 323 APM compliant BIOSes. If you say Y here, the system time will be
|
| /kernel/rcu/ |
| A D | Kconfig | 26 thousands of CPUs, but for which real-time response 37 designed for UP systems from which real-time response 221 Say Y here if you are working with real-time apps or heavy loads 230 This option specifies the time to wait after the beginning of 238 bool "Perform RCU expedited work in a real-time kthread" 258 real-time workloads. It can also be used to offload RCU 266 CPUs specified at boot time by the rcu_nocbs parameter. 301 bool "Offload RCU callback from real-time kthread" 327 real-time installations and for battery-powered devices, 359 the this option at boot time, thus re-enabling these delays. [all …]
|
| /kernel/printk/ |
| A D | printk.c | 1399 bool time, char *buf) in info_print_prefix() argument 1406 if (time) in info_print_prefix() 1437 bool time) in record_print_text() argument 1539 bool syslog, bool time) in get_record_print_text_size() argument 1562 bool syslog, bool time) in find_first_fitting_seq() argument 1710 bool time; in syslog_print_all() local 1716 time = printk_time; in syslog_print_all() 1722 size, true, time); in syslog_print_all() 1856 true, time); in do_syslog() 1857 time = printk_time; in do_syslog() [all …]
|
| /kernel/futex/ |
| A D | syscalls.c | 232 ktime_t time; in futex2_setup_timeout() local 253 ret = futex_init_timeout(FUTEX_WAIT_BITSET, flag_init, &ts, &time); in futex2_setup_timeout() 257 futex_setup_timer(&time, to, flag_clkid, 0); in futex2_setup_timeout()
|
| A D | futex.h | 222 futex_setup_timer(ktime_t *time, struct hrtimer_sleeper *timeout, 500 extern int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock);
|
| A D | waitwake.c | 728 restart->futex.time = *abs_time; in futex_wait() 744 t = restart->futex.time; in futex_wait_restart()
|
| /kernel/cgroup/ |
| A D | cpuset-v1.c | 69 fmp->time = 0; in fmeter_init() 80 ticks = now - fmp->time; in fmeter_update() 88 fmp->time = now; in fmeter_update()
|