comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com (Ted Dennison)
Subject: Re: Cpu usage in ada?
Date: 29 Oct 2002 20:56:52 -0800
Date: 2002-10-30T04:56:52+00:00	[thread overview]
Message-ID: <4519e058.0210292056.6f5f99c1@posting.google.com> (raw)
In-Reply-To: b4a38a5f675eb2c7e9430d1b934558a4.110780@mygate.mailgate.org

"Sim Con" <sicon@hotmail.com> wrote in message news:<b4a38a5f675eb2c7e9430d1b934558a4.110780@mygate.mailgate.org>...
> Hello! I need to build a cpu usage meter in ada95 for a windows system.


About 99% of this task is going to be OperatingSystem specific.
"Windows" is not good enough, as the different versions and flavors of
Windows have completely different ways of giving you this information.

To recap, the problems here are:
  o You didn't specify which version(s) of Windows you need to use.
  o This isn't really a Windows newsgroup.


For example, if you can confine your app to the NT family (including
2K and XP), then you probably want to poll the registry's "performance
information". There's a rough Ada binding for that in the SETI@Home
Service which you might be able to use, if you want to go that route.
But I don't know offhand exactly which keys you need to hit. MSDN is
the place to look (at least that's where I went to figure it out).



      parent reply	other threads:[~2002-10-30  4:56 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
2002-10-30  3:35 ` SteveD
2002-10-30 14:35   ` Ted Dennison
2002-10-30  4:56 ` Ted Dennison [this message]
replies disabled

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