Messages in this thread | | | Date | Fri, 26 Dec 2008 09:43:20 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] posix-cpu-timers: clock_gettime(CLOCK_*_CPUTIME_ID) goes backward |
| |
* Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> wrote:
> @@ -321,7 +287,7 @@ static int cpu_clock_sample_group(const clockid_t which_clock, > cpu->cpu = cputime.utime; > break; > case CPUCLOCK_SCHED: > - cpu->sched = cputime.sum_exec_runtime + task_delta_exec(p); > + cpu->sched = cputime.sum_exec_runtime; > break; > }
hm, doesnt this regress precision?
Ingo
| |