Functions
flops.cpp File Reference

Floating point benchmarking test. More...

#include <cstdio>
#include <cmath>
#include <ecl/config.hpp>
#include <ecl/command_line.hpp>
#include <ecl/threads/priority.hpp>
Include dependency graph for flops.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Detailed Description

Floating point benchmarking test.

Uses Alburto's code (1992) to calculate the flops using various test cases for floating point add/sub/mul/div operations. It also takes into account the vectorizability of your code.

This is currently configured to work with POSIX systems. A windows equivalent can be configured by changing the macro options early in the file.

Date
April, 2010.

Definition in file flops.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 168 of file flops.cpp.



ecl_core_apps
Author(s): Daniel Stonier
autogenerated on Sun Aug 2 2020 03:12:22