Re: CPU utlization of a thread



ok, how will you go about getting the CPU utilization:

1. Of the current thread
2. A thread in the same process
3. A thread in a different process

please sugest functions/APIs..for each scenario.


David Schwartz wrote:
Harish wrote:

David Schwartz wrote:

Harish wrote:

What is the function/API to use for getting the CPU utilization of a
thread(Thread ID is given)

Your question is really vague. Do you mean by that thread? By another
thread in that same process? Or from another process?

Its another thread in the same process.
does it really matter?

Yes, it does matter.

DS

.



Relevant Pages

  • Re: Increase in consumption of CPU
    ... for the fact of the matter this ... consumption(85-98% cpu utilization) is noticed even when it sits idle in the ... task bar doing absolutely nothing, I have removed all "folders monitered". ...
    (microsoft.public.windowsmedia.player)
  • Re: Is there a way to save the game and not exit?
    ... learned that no matter how much I wanted it to work, ... Tactics is playing the game on this level. ... I still think that savescumming can be useful in wizard mode. ... basic idea is that you use wizard mode to set up a specific scenario, ...
    (rec.games.roguelike.nethack)
  • Re: Why does 1:3 relationsihp require another table?
    ... The order doesn't matter, but what does matter is that each of the ... The first R is a valid model of a scenario where Louis had two ... and Vice President Dick Cheney succeeds to the presidency. ...
    (microsoft.public.sqlserver.programming)
  • Re: Transaction log way too large - no transactional replication involved!
    ... developers than my case since we are working with SQL 2000. ... problems with the transaction log handling code, no matter what scenario ... I do definitely join your forces in this matter :-) ...
    (microsoft.public.sqlserver.replication)
  • Error 50002
    ... SP installed or not does no matter. ... A VBA piece of code instantiate a class of the dll developped in VB6 to ... In each scenario, the Win installation is a fresh one. ...
    (microsoft.public.vb.com)