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

Ingo Molnar
2009-09-06T04:45:30Z

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