| MAIN ABSTACT RESULTS CPU LOADING
CPU LOADING PROGRAM
The code below was written in order to bring the work load of the CPU to 100% for a period of time. To extend this time, you can increase the "inter" amount which is currently set to 1981. It is provided free for anyone who is interested. All you have to do is save the code below to a text file and change the extension of the text file to “.bat”. After that you can double click on the program to start it.
PLEASE NOTE: Running the CPU at 100% load for an extended period of time will cause it to generate more heat. If you are not sure whether or not your cooling system can handle an increased CPU load, please DO NOT run this program. Also, as computer become more powerful, this code no longer performs as well; however, you can run multiple copies of this code to get the desired results.
You can also download a copy of the executable batch file by clicking here
@echo off
CLS
REM #################################################
REM # Title: A.C.E CPU Heating Program #
REM # Author: George Choueiri #
REM # Description: Loads CPU to maximum for period of time #
REM #################################################
REM
REM ###############Set initial variables###################
SET /A inter = 1981
SET /A ender = 100
CLS
REM ##################### Print title ####################
ECHO [A.C.E CPU HEATER]
SET /A B = 0
REM ############# Start calculation loop ###################
:START1
SET /A I = 0
:START0
SET /A I = 1 + %I%
SET /A J = %I% * %I% * %B% - %B% / (%B% + 1) + %B% - 1
SET /A K = %J% - %I% * %B% - %B% / (%B% + 1) + %B% - 1
SET /A L = %K% / %I% * %B% - %B% / (%B% + 1) + %B% - 1
IF %I% == %inter% GOTO END0
CLS
REM ########## Display completion percentage and title ########
ECHO [A.C.E CPU HEATER]
ECHO %B% (Percent) DONE
ECHO %I% - %J% - %K% - %L%
CLS
GOTO START0
:END0
SET /A B = 1 + %B%
REM ######### Check percentage, and stop at 100 percent #######
IF %B% == %ender% GOTO END1
GOTO START1
:END1
|