🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

CPU Usage

#15439
From: Scott Ingram
Date: Fri, 27 Jun 2003 15:35
15 lines
1421 bytes
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: <3efc643b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,eff4f62d80779038,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-27 08:44:03 PST
From: "Scott Ingram" <scott.ingram@DELTETECAPSnitrex.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: CPU Usage
Date: Fri, 27 Jun 2003 11:35:34 -0400
Lines: 18
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: 199.243.88.188
Message-ID: <3efc643b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056728123 199.243.88.188 (27 Jun 2003 08:35:23 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail