🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CPU Usage

#15449
From: Bernd Omenitsch
Date: Sat, 28 Jun 2003 06:05
24 lines
1640 bytes
You may wonna check out the Performance Data functions. pdhxxx

Bernd
"Scott Ingram" <scott.ingram@DELTETECAPSnitrex.com> schrieb im Newsbeitrag
news:3efc643b$1@newsgroups.borland.com...
> Hi all,
>
> How do I track CPU usage from within an application. I need to adjust the
> number of times I update the screen per second based on CPU usage. This
can
> vary considerably depending on the graphics card installed.
>
> Is there a component or class I can access for this info? Preferably, I'd
> receive the information in the form of percentage... like the way it is
> described in task manager.
>
> Oh yes, I'm running Win 2k with Borland Builder 6.0.
>
> Thanks,
>
> Scott Ingram
>
>
>
Technical Details
Message-ID: <3efd3024@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3efc643b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,eff4f62d80779038
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-27 23:11:30 PST
Reply-To: "Bernd Omenitsch" <omenitsch@inode.at>
From: "Bernd Omenitsch" <omenitsch@inode.at>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3efc643b$1@newsgroups.borland.com>
Subject: Re: CPU Usage
Date: Sat, 28 Jun 2003 08:05:14 +0200
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 213.229.63.84
Message-ID: <3efd3024@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056780324 213.229.63.84 (27 Jun 2003 23:05:24 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail