On Thu, Sep 17, 2009 at 5:13 PM, Evan Martin <[email protected]> wrote:
> On Thu, Sep 17, 2009 at 5:00 PM, Scott Hess <[email protected]> wrote:
>> Did you consider having an IPC message to ask the sub-processes for
>> their getrusage(RUSAGE_SELF, *) results?
>
> Yes, but I was concerned that the use of the task manager is for when
> a process has gone bad in some way.  Perhaps we expect the non-IPC
> part to not have gone bad, but it seems like maybe it's less trouble
> to not rely on that.

Hmm.  True, if the IPC thread is down, you're doomed.  Does the CPU
use inform the decision to kill?  If it's hung, it's hung, regardless
of whether it's at 0% or 100%.

I can see how useful this would be to track tab usage.  Would be easy
to extend this to RUSAGE_THREAD in the future.

-scott

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to