Advertisement
4_2005-2006 Windows API Call/ Explanation #164252

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

Resumo por IA: 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.

Código fonte
original-source
Upload
Comentários originais (3)
Recuperado do Wayback Machine