ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
testPerformance.cc File Reference

Go to the source code of this file.

Macros

#define ARRAY_SIZE   10000000
#define TIME_INTERVAL   5

Functions

template<typename T>
testSum (T x1, T x2)
template<typename T>
testSumNonSequential (T x1, T x2)
template<typename T>
testBasicOperators (T x1, T x2)
template<typename T>
testSpecialOperators (T x1, T x2)
int main ()

Macro Definition Documentation

◆ ARRAY_SIZE

#define ARRAY_SIZE   10000000
Examples
testPerformance.cc.

Definition at line 54 of file testPerformance.cc.

◆ TIME_INTERVAL

#define TIME_INTERVAL   5

Definition at line 56 of file testPerformance.cc.

Function Documentation

◆ main()

int main ( )

Definition at line 274 of file testPerformance.cc.

◆ testBasicOperators()

template<typename T>
T testBasicOperators ( T x1,
T x2 )
inline
Examples
testPerformance.cc.

Definition at line 82 of file testPerformance.cc.

◆ testSpecialOperators()

template<typename T>
T testSpecialOperators ( T x1,
T x2 )
inline
Examples
testPerformance.cc.

Definition at line 94 of file testPerformance.cc.

◆ testSum()

template<typename T>
T testSum ( T x1,
T x2 )
inline

Definition at line 63 of file testPerformance.cc.

◆ testSumNonSequential()

template<typename T>
T testSumNonSequential ( T x1,
T x2 )
inline
Examples
testPerformance.cc.

Definition at line 71 of file testPerformance.cc.