On Thu, Sep 17, 2009 at 4:06 PM, Evan Martin <[email protected]> wrote: > To convert from ticks to time, multiply by the system hertz. It > appears in the ELF notes in /proc/<pid>/auxv among other places, but > from grepping the glibc source it looks like sysconf(_SC_CLK_TCK) > gives you the same number. (See PS below about "system hertz" in the > presence of tickless.)
Another option would be to have the browser inspect itself in /proc and use a documented interface like getrusage(RUSAGE_SELF, *) to turn the results something to multiply with the /proc results for children. So pretty. -scott --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
