Program that logs the CPU usage in Windows 7 [duplicate]

Solution 1:

Windows has this built-in. It's called the Performance Monitor. Create a data collector set to start collecting performance data.