/* Users are usually interested in average times, not accumulated time. This also helps us with atomicity problems when reading sinlge values.  */
static u64 time_to_avg_nsec(u32 value, u32 count)
/* Users are usually interested in average times, not accumulated time. This also helps us with atomicity problems when reading sinlge values.  */
static u64 time_to_avg_nsec(u32 value, u32 count)
{
	u64 ret;
	if (count == 0)
		return 0;
	ret = time_to_nsec(value);
	do_div(ret, count);
	return ret;
}