lkml.org 
[lkml]   [2009]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-09-06 06:47    [W:0.069 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site