tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: getrusage() problems with user vs. system time reporting



woods%planix.ca@localhost ("Greg A. Woods") writes:

>I tried using hardclock_ticks in sys/syscall_stats.h, but even with
>HZ=1000, the resolution was too fine compared to the time taken by the
>some system calls, and even the average time slice for user mode.
>It is _way_ better than statclock ticks though, and "almost" free.

Isn't statclock there to have measurements that are _not_ synchronized
with hardclock?

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index