Are there any APIs that, under Windows XP Pro SP2, allow my program to
measure how much CPU load (in percentage) it is imposing on the
processor?
I would like both to display this percentage on the screen, and to
activate some load-reducing counter measures inside the program.

Thanks

Alberto