PhoenixMicroBenchmark  1.3.0
Toolset for function micro-benchmarking
Loading...
Searching...
No Matches
micro_benchmark_ns.cpp File Reference
Include dependency graph for micro_benchmark_ns.cpp:

Go to the source code of this file.

Functions

HiPeTime phoenix_getTime ()
 Get the current time.

Function Documentation

◆ phoenix_getTime()

HiPeTime phoenix_getTime ( )

Get the current time.

Returns
current time in nanosecond

Definition at line 12 of file micro_benchmark_ns.cpp.

12 {
13 return HiPeClock::now();
14}

Referenced by PFunctionTimer::evalPerf(), and micro_benchmarkNs().

Here is the caller graph for this function: