Messages in this thread | | | Date | Sun, 6 Sep 2009 06:44:40 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH 10 update 2x] PM: Measure suspend and resume times for individual devices |
| |
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
| |