MicroBenchmark
Public Member Functions | List of all members
FBenchResult Struct Reference

result struct for a benchmark More...

#include <MicroBenchmarkSubsystem.h>

Public Member Functions

std::chrono::nanoseconds AvgNanoSeconds () const
 calculate the average runtime over all executions in nanoseconds
 
void LogTime (std::chrono::nanoseconds n)
 log a new timed sample More...
 
FORCEINLINE int32 GetNumCalls () const
 get the number of times the code in this benchmark was called
 

Detailed Description

result struct for a benchmark

Member Function Documentation

◆ LogTime()

void FBenchResult::LogTime ( std::chrono::nanoseconds  n)
inline

log a new timed sample

Parameters
nruntime in nanoseconds

The documentation for this struct was generated from the following files: