On Tue, 2019-02-05 at 12:55 +0100, Rafael J. Wysocki wrote:
> 
> > +   ktime_t start, end, elapsed;
> 
> Why do you need three vars here?  One should be sufficient.
...
> > +   start = ktime_get_boottime();
> 
> Why _boottime()?
> 
Yes, I agree both comments.

BTW, The initial idea came from processes freezing, apology my sketchy
imitation not considering the context well to choose a proper API.

-Harry

Reply via email to