[PATCH 4/7] posix-cpu-timers: timer functions should use timer time instead of clock time

2013-05-02 Thread kosaki . motohiro
From: KOSAKI Motohiro For process timers, we use cpu_clock_sample_group() and cpu_timer_sample_group() correctly. However, for thread timers, we always use cpu_clock_sample(). This is wrong because a cpu_clock_sample() accounts uncommitted delta_exec too. And this is inconsistent against

[PATCH 4/7] posix-cpu-timers: timer functions should use timer time instead of clock time

2013-05-02 Thread kosaki . motohiro
From: KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com For process timers, we use cpu_clock_sample_group() and cpu_timer_sample_group() correctly. However, for thread timers, we always use cpu_clock_sample(). This is wrong because a cpu_clock_sample() accounts uncommitted delta_exec too. And this