Re: [RFC][PATCH 01/10] taskstats: Use real microsecond granularityfor CPU times

From: Balbir Singh
Date: Thu Oct 07 2010 - 01:09:26 EST


* Michael Holzheu <holzheu@xxxxxxxxxxxxxxxxxx> [2010-09-23 16:00:52]:

> Subject: [PATCH] taskstats: Use real microsecond granularity for CPU times
>
> From: Michael Holzheu <holzheu@xxxxxxxxxxxxxxxxxx>
>
> The taskstats interface uses microsecond granularity for the user and
> system time values. The conversion from cputime to the taskstats values
> uses the cputime_to_msecs primitive which effectively limits the
> granularity to milliseconds. Add the cputime_to_usecs primitive for
> architectures that have better, more precise CPU time values. Remove
> cputime_to_msecs primitive because there is no more user left.
>
> Signed-off-by: Michael Holzheu <holzheu@xxxxxxxxxxxxxxxxxx>

Looks good to me.

--
Three Cheers,
Balbir
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/