Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CPU % time

Posted on 1998-04-29
1
Medium Priority
?
169 Views
Last Modified: 2010-04-06
how to get the processor % time as in 'Sysmon'
Thanks

Marc
0
Comment
Question by:MLF020998
1 Comment
 
LVL 1

Accepted Solution

by:
pjdb earned 0 total points
ID: 1339557
For the current process :

GetProcessTimes(GetCurrentProcessId(), lpCreationTime, lpExitTime, lpKernelTime, lpUserTime);

JDB
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question