Jump to content

Recommended Posts

Posted (edited)

Hi all.

Im' trying to make small script which would show process thread's CPU load and (or) cycle times. I use QueryThreadCycleTime function of kernel32.dll, but it returns wrong data. I mean, this values don't match real process's preferences from ProcessExplorer.

This function sometimes returns negative values, but how can that be? Please, if it is possible to get CPU load of process threads, or get real cycle times - help me! 

Here is my script and screenshot of returning data.

 

 

Edited by Jos
removed code and images
  • Developers
Posted (edited)

Seems you still haven't read our forumrules, this time about not opening a topic on the same subject that was closed before.

Let's call this strike 2.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

  • Jos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...