🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8432

Re: CPU Usage and PF Usage

#8432
From: Malcolm Smith
Date: Thu, 21 Oct 2004 12:27
28 lines
1824 bytes
You didn't mention which platform.

For starters, look up PDH (Performance Data Helper) at MSDN.  Earlier
versions of windows stored the information in the registry.  I can look up
the information if you require.

-- 
Malcolm Smith
MJ Freelancing
http://www.mjfreelancing.com
Borland Technology Partner

Contributing Editor
C++Builder Developers Journal
http://bcbjournal.org


"LarryJ" <LarryJ33@ev1.net> wrote in message
news:41779fb5$1@newsgroups.borland.com...
> Is there an API for getting the "CPU Usage" and "PF Usage" which is shown
in
> the Task manager? Is there a new version of the API Bible? My copy is from
> 1996.
>
> Thanks
> Larry Johnson.
>
>
Technical Details
Message-ID: <4177aa8b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41779fb5$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ca2eea290f4e14be
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Malcolm Smith" <mjfreelancing@optusnet.com.au>
From: "Malcolm Smith" <mjfreelancing@optusnet.com.au>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41779fb5$1@newsgroups.borland.com>
Subject: Re: CPU Usage and PF Usage
Date: Thu, 21 Oct 2004 22:27:14 +1000
Lines: 30
Organization: MJ Freelancing
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 211.30.147.112
Message-ID: <4177aa8b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1098361483 211.30.147.112 (21 Oct 2004 05:24:43 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail