NeoPZ
|
#include <iostream>
#include <iomanip>
#include <utils/timer.h>
#include <TinyFadET/tfad.h>
#include <TinyFad/tinyfad.h>
Go to the source code of this file.
Functions | |
template<int Num> | |
void | Bench_1_Op (const TinyFad< Num > &x, const int nloop) |
template<int Num> | |
void | Bench_2_Op (const TinyFad< Num > &x, const int nloop) |
template<int Num> | |
void | Bench_3_Op (const TinyFad< Num > &x, const int nloop) |
template<int Num> | |
void | Bench_4_Op (const TinyFad< Num > &x, const int nloop) |
template<int Num> | |
void | Bench_10_Op (const TinyFad< Num > &x, const int nloop) |
template<int Num> | |
void | Bench_20_Op (const TinyFad< Num > &x, const int nloop) |
int | main () |
void Bench_10_Op | ( | const TinyFad< Num > & | x, |
const int | nloop | ||
) |
Definition at line 475 of file benchfad.cc.
References TinyFad< Num, T >::dx(), Timer::elapsedSeconds(), nloop, Timer::start(), Timer::stop(), and TinyFad< Num, T >::val().
Referenced by main().
void Bench_1_Op | ( | const TinyFad< Num > & | x, |
const int | nloop | ||
) |
Definition at line 165 of file benchfad.cc.
References TinyFad< Num, T >::dx(), Timer::elapsedSeconds(), test::f, nloop, Timer::start(), Timer::stop(), and TinyFad< Num, T >::val().
void Bench_20_Op | ( | const TinyFad< Num > & | x, |
const int | nloop | ||
) |
Definition at line 548 of file benchfad.cc.
References TinyFad< Num, T >::dx(), Timer::elapsedSeconds(), nloop, Timer::start(), Timer::stop(), and TinyFad< Num, T >::val().
Referenced by main().
void Bench_2_Op | ( | const TinyFad< Num > & | x, |
const int | nloop | ||
) |
Definition at line 244 of file benchfad.cc.
References TinyFad< Num, T >::dx(), Timer::elapsedSeconds(), nloop, Timer::start(), Timer::stop(), and TinyFad< Num, T >::val().
void Bench_3_Op | ( | const TinyFad< Num > & | x, |
const int | nloop | ||
) |
Definition at line 323 of file benchfad.cc.
References TinyFad< Num, T >::dx(), Timer::elapsedSeconds(), nloop, Timer::start(), Timer::stop(), and TinyFad< Num, T >::val().
void Bench_4_Op | ( | const TinyFad< Num > & | x, |
const int | nloop | ||
) |
Definition at line 402 of file benchfad.cc.
References TinyFad< Num, T >::dx(), Timer::elapsedSeconds(), test::f, nloop, Timer::start(), Timer::stop(), and TinyFad< Num, T >::val().
Referenced by main().
int main | ( | ) |
Definition at line 49 of file benchfad.cc.
References Bench_10_Op(), Bench_20_Op(), Bench_4_Op(), and nloop.