Searched refs:clkid (Results 1 – 1 of 1) sorted by relevance
194 static u64 cpu_clock_sample(const clockid_t clkid, struct task_struct *p) in cpu_clock_sample() argument198 if (clkid == CPUCLOCK_SCHED) in cpu_clock_sample()203 switch (clkid) { in cpu_clock_sample()340 static u64 cpu_clock_sample_group(const clockid_t clkid, struct task_struct *p, in cpu_clock_sample_group() argument356 return samples[clkid]; in cpu_clock_sample_group()361 const clockid_t clkid = CPUCLOCK_WHICH(clock); in posix_cpu_clock_get() local373 t = cpu_clock_sample(clkid, tsk); in posix_cpu_clock_get()375 t = cpu_clock_sample_group(clkid, tsk, false); in posix_cpu_clock_get()627 clockid_t clkid = CPUCLOCK_WHICH(timer->it_clock); in posix_cpu_timer_set() local688 val = cpu_clock_sample(clkid, p); in posix_cpu_timer_set()[all …]