Re: statclock(n)

2010-11-19 Thread Alexander Motin
Hi. Andriy Gapon wrote: > I wonder if instead of calling statclock() multiple times (after an idle > period) > we couldn't call it just with an appropriate N parameter. > So some stats like e.g. cp_time[] could do +=N instead of ++. > Other stats ru_ixrss need to be updated only once. > Similarly

statclock(n)

2010-11-19 Thread Andriy Gapon
Alexander, I wonder if instead of calling statclock() multiple times (after an idle period) we couldn't call it just with an appropriate N parameter. So some stats like e.g. cp_time[] could do +=N instead of ++. Other stats ru_ixrss need to be updated only once. Similarly, N could be passed furth