FLOPS.C is a standard benchmark (written by Al Aburto) for determining the floating point calculation speed of a computer processor. This speed is typically measured in "MFLOPS," which stands for Millions of Floating Point Operations per Second.
While not a MATLAB file, this software helps in assessing MATLAB performance by evaluating the hardware performance capability that is most relevant to MATLAB calculation speed.
The code provided here has been compiled for use under the Windows XP operating system. I have noticed that even under "Realtime" priority, the FLOPS measurements vary by about 5-10% during test runs. (I presume this results from operating system activities.) On a 2 gigahertz Pentium 4, the benchmark runs for about four minutes and gives results on the order of 500 MFLOPS (for the first module).
FLOPS.C performs 8 benchmark module runs using different combinations of various floating point operations. The reasoning behind each run is provided in comments in the C code. Prior versions of this benchmark only used the first module, so if you only wish to obtain a result without delving into the details, you may wish to simply utilize that single number. For a more detailed explanation, consult the C code comments. Enjoy! (Michael Kleder, 7/2005)
This folder contains:
FLOPS.C.ORIG - Original, unmodified code
FLOPS.C - Modified to compile with LCC under Windows XP, to allow a delay at the beginning while the user sets the process priority, and to provide another delay at the end so that the user can observe the results before termination
FLOPS.EXE - Compiled executable (Windows XP)
FLOPS.JPG - Screen capture of completed benchmark run
README.TXT - General information |