Re: [PATCH 10 update 2x] PM: Measure suspend and resume times forindividual devices

From: Ingo Molnar
Date: Sun Sep 06 2009 - 00:45:38 EST



Thanks Rafael, the code looks a lot more natural IMHO.

this bit:

> +#ifdef DEBUG
> +static void dbg_get_time(struct timeval *start)
> +{
> + do_gettimeofday(start);
> +}

is a plain wrapper over gettimeofday so you might want to inline
it. (although GCC will do it too most of the time)

Ingo
--
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/