PhoenixMicroBenchmark
1.3.0
Toolset for function micro-benchmarking
Toggle main menu visibility
Loading...
Searching...
No Matches
micro_benchmark_rdtsc.h
Go to the documentation of this file.
1
/***************************************
2
Auteur : Pierre Aubert
3
Mail : pierre.aubert@lapp.in2p3.fr
4
Licence : CeCILL-C
5
****************************************/
6
7
#ifndef __MICRO_BENCHMARK_RDTSC_H__
8
#define __MICRO_BENCHMARK_RDTSC_H__
9
10
#include "
micro_benchmark_common.h
"
11
12
template
<
typename
_Callable,
typename
... _Args>
13
void
micro_benchmarkRdtsc
(
double
& ellapsedTimeNs,
double
& ellapsedTimeErrorNs,
size_t
nbTestPerf,
size_t
nbCallPerTest,
14
_Callable&& __f, _Args&&... __args);
15
16
template
<
typename
_Callable,
typename
... _Args>
17
void
micro_benchmarkRdtsc
(
double
& ellapsedTimeNs,
double
& ellapsedTimeErrorNs,
18
double
& timePerElement,
double
& timeErrorPerElement,
size_t
nbTestPerf,
size_t
nbCallPerTest,
size_t
nbElement,
19
_Callable&& __f, _Args&&... __args);
20
21
template
<
typename
_Callable,
typename
... _Args>
22
void
micro_benchmarkRdtscPrint
(
const
std::string & testName,
size_t
nbTestPerf,
size_t
nbCallPerTest,
size_t
nbElement, _Callable&& __f, _Args&&... __args);
23
24
25
#include "
micro_benchmark_rdtsc_impl.h
"
26
27
28
#endif
29
micro_benchmark_common.h
micro_benchmarkRdtsc
void micro_benchmarkRdtsc(double &ellapsedTimeNs, double &ellapsedTimeErrorNs, size_t nbTestPerf, size_t nbCallPerTest, _Callable &&__f, _Args &&... __args)
Do the micro benchmarking of a given function and gives performance results in cy.
Definition
micro_benchmark_rdtsc_impl.h:22
micro_benchmarkRdtscPrint
void micro_benchmarkRdtscPrint(const std::string &testName, size_t nbTestPerf, size_t nbCallPerTest, size_t nbElement, _Callable &&__f, _Args &&... __args)
Do the micro benchmarking of a given function and gives performance results in cy and print the resul...
Definition
micro_benchmark_rdtsc_impl.h:76
micro_benchmark_rdtsc_impl.h
src
micro_benchmark_rdtsc.h
Generated by
1.17.0