3.5

3.5 | 4 ratings Rate this file 19 Downloads (last 30 days) File Size: 77.3 KB File ID: #7996
image thumbnail

CPU Floating Point Operations per Second (for Windows)

by Michael Kleder

 

07 Jul 2005 (Updated 12 Jul 2005)

Standard benchmark (by Al Aburto) for determining floating point speed, ported into Windows.

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.0.1 (R14SP1)
Other requirements MS Windows
Tags for This File  
Everyone's Tags
benchmark, cpu, development environment, floating, flops(2), mflops, point, processor, speed
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
22 Feb 2008 Sai Man

works great, but do not set priority to real-time or else your pc will hang!!! just run under normal priority to assess the real capabilities of the cpu. compile the .c code yourself as the exe included is outdated and hence will be a bit slow.

17 Jun 2007 Eric *censored*

Only uses 1 CPU on my AMD 4600+, it should be written to use both, but it was made a few years ago so...

13 Nov 2006 Too sexy for my shirt

True, it only runs on one processor at a time, but I just multiply the flops output by the number of processors I have. (I suppose I could run multiple instances of the program too.)

23 Feb 2006 Rahul Cha

Does not support multi-processors. When I ran this on my dual-core Athlon 3800 x2, only one CPU was being used according to task-manager.

I have a 32 bit Windows Xp installation.

03 Nov 2005 test test

test

Contact us