Searched refs:clock_id (Results 1 – 5 of 5) sorted by relevance
/kernel/time/ |
D | itimer.c | 45 static void get_cpu_itimer(struct task_struct *tsk, unsigned int clock_id, in get_cpu_itimer() argument 49 struct cpu_itimer *it = &tsk->signal->it[clock_id]; in get_cpu_itimer() 60 if (clock_id == CPUCLOCK_PROF) in get_cpu_itimer() 143 static void set_cpu_itimer(struct task_struct *tsk, unsigned int clock_id, in set_cpu_itimer() argument 150 struct cpu_itimer *it = &tsk->signal->it[clock_id]; in set_cpu_itimer() 167 set_process_cpu_timer(tsk, clock_id, &nval, &cval); in set_cpu_itimer() 173 trace_itimer_state(clock_id == CPUCLOCK_VIRT ? in set_cpu_itimer()
|
D | hrtimer.c | 107 static inline int hrtimer_clockid_to_base(clockid_t clock_id) in hrtimer_clockid_to_base() argument 109 return hrtimer_clock_to_base_table[clock_id]; in hrtimer_clockid_to_base() 403 static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id, 406 void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t clock_id, in hrtimer_init_on_stack() argument 410 __hrtimer_init(timer, clock_id, mode); in hrtimer_init_on_stack() 1142 static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id, in __hrtimer_init() argument 1152 if (clock_id == CLOCK_REALTIME && mode != HRTIMER_MODE_ABS) in __hrtimer_init() 1153 clock_id = CLOCK_MONOTONIC; in __hrtimer_init() 1155 base = hrtimer_clockid_to_base(clock_id); in __hrtimer_init() 1172 void hrtimer_init(struct hrtimer *timer, clockid_t clock_id, in hrtimer_init() argument [all …]
|
D | posix-timers.c | 516 void posix_timers_register_clock(const clockid_t clock_id, in posix_timers_register_clock() argument 519 if ((unsigned) clock_id >= MAX_CLOCKS) { in posix_timers_register_clock() 521 clock_id); in posix_timers_register_clock() 527 clock_id); in posix_timers_register_clock() 532 clock_id); in posix_timers_register_clock() 536 posix_clocks[clock_id] = *new_clock; in posix_timers_register_clock()
|
/kernel/trace/ |
D | trace.c | 3102 if (trace_clocks[tr->clock_id].in_ns) in __tracing_open() 4499 if (trace_clocks[tr->clock_id].in_ns) in tracing_open_pipe() 5097 i == tr->clock_id ? "[" : "", trace_clocks[i].name, in tracing_clock_show() 5098 i == tr->clock_id ? "]" : ""); in tracing_clock_show() 5117 tr->clock_id = i; in tracing_set_clock() 5800 if (trace_clocks[tr->clock_id].in_ns) { in tracing_stats_read() 6805 if (trace_clocks[iter->tr->clock_id].in_ns) in trace_init_global_iter()
|
D | trace.h | 217 int clock_id; member
|