comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com (Ted Dennison)
Subject: Re: Cpu usage in ada?
Date: 30 Oct 2002 06:24:29 -0800
Date: 2002-10-30T14:24:29+00:00	[thread overview]
Message-ID: <4519e058.0210300624.55d352a9@posting.google.com> (raw)
In-Reply-To: TuIv9.4129$I_5.3704@rwcrnsc53

"SteveD" <nospam_steved94@attbi.com> wrote in message news:<TuIv9.4129$I_5.3704@rwcrnsc53>...
> On W2K right click on the task bar, select "Task Manager", then select the
> "Performance" tab.  There is a graph showing CPU usage.  I think the
> original poster was asking how he/she could make their own.

That particular app is built using "performance data" from the
registry (under HKEY_PERFORMANCE_DATA). But that doesn't work on Win9x
OS's (which is why they don't use the same task manager app).

The SETI@Home Service has a preliminary binding to this. That's how it
gets the list of running processes (so it can shut itself down when a
user-designated process is runnning). Adding support for shutting down
SETI during heavy CPU activity is on my todo list, but isn't in there
yet.

I wouldn't be shocked if some of the other windows bindings (Claw?)
have support for this too.

The only good way to get yourself familiar with this is to dig deeply
into MSDN and read up on it. There may be books that cover it well
too, but I haven't seen one.



  reply	other threads:[~2002-10-30 14:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-29 15:51 Cpu usage in ada? Sim Con
2002-10-29 23:54 ` Karen
2002-10-30  3:38   ` SteveD
2002-10-30 14:24     ` Ted Dennison [this message]
2002-10-30  3:35 ` SteveD
2002-10-30 14:35   ` Ted Dennison
2002-10-30  4:56 ` Ted Dennison
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox