On Thu, Sep 17, 2009 at 6:17 PM, spotrh <[email protected]> wrote: > On 09/17/2009 07:06 PM, Evan Martin wrote: >> >> For the task manager we want to show CPU usage. Here's a summary of options. >> >> 1) Use libgtop, which was designed for this. But nixed because it's >> GPL, explicitly to prevent apps like us from using it. Bummer. > > I'm not familiar with the code (it could be junk), but libstatgrab seems > like it might be an option: > > http://www.i-scream.org/libstatgrab/
Dang, that actually looks pretty good. Relevant code here: http://cvs.i-scream.org/viewvc.cgi/projects/libstatgrab/src/libstatgrab/process_stats.c?revision=1.82&view=markup --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
