Start Notepad.

 

Copy paste:

@echo off
:loop
goto loop

save it as a cpu.bat file.

Start the cpu.bat file.

However, if you have multiple cores, you have start multiple instances.