Advertisement
2_2002-2004 Windows API Call/ Explanation #112934

CPU Usage on all 32bit Windows OS

A simple to use class that returns the current CPU load usage of the system as a percentage. Works with all 32bit Windows operating systems (9x, ME, NT, 2000, XP) and also works with multiple processors. I couldn't find any CPU usage code on PSC that would work with XP, so I had a hunt around the web and came across the NtQuerySystemInformation API. The class detects the OS and uses the appropriate CPU usage retrieval system.

AI

Shrnutí AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Zdrojový kód
original-source
Upload
Původní komentáře (3)
Obnoveno z Wayback Machine