CPU Maths Test

Top  Previous  Next

This test contains two sub categories, integer and floating point, which contain 8 different tests in total.

For each of the integer tests, a large array of random 32Bit integers are processed using the particular mathematical operations list below. For the floating-point test single precision floating-point numbers are used.

The following tests make up the suite.

 

Integer Tests;

-Addition
-Subtraction
-Multiplication
-Division
 

Floating point tests;

-Floating Point Addition
-Floating Point Subtraction
-Floating Point Multiplication
-Floating Point Division

 

Each mathematical calculation is performed twice and the results compared to each other. If the results obtained from the two calculations are different then this is flagged as an error.

 

The numbers displayed in the window for this test represent how many millions of mathematical operations have been performed and verified. Each different maths test is run for half a second. After all 8 tests have been run the cycle count is incremented. The duty cycle and the CPU speed determine how many operations can be processed during the half-second period.

 

Helpful command line tool:

[your_command_line_prompt]# cat /proc/cpuinfo

This command will show your CPU info, including speed, cache size and features.