AJA NTV2 SDK  17.5.0.1242
NTV2 SDK 17.5.0.1242
performance.h File Reference

Declaration of the AJAPerformance class. More...

#include "ajabase/common/timer.h"
#include <string>
#include <map>
Include dependency graph for performance.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AJAPerformance
 

Typedefs

typedef std::map< std::string, uint64_t > AJAPerformanceExtraMap
 
typedef std::map< std::string, AJAPerformanceAJAPerformanceTracking
 

Functions

bool AJAPerformanceTracking_start (AJAPerformanceTracking &stats, std::string key, AJATimerPrecision precision=AJATimerPrecisionMilliseconds, uint64_t skipEntries=0)
 
bool AJAPerformanceTracking_start (AJAPerformanceTracking &stats, std::string key, const AJAPerformanceExtraMap &extras, AJATimerPrecision precision=AJATimerPrecisionMilliseconds, uint64_t skipEntries=0)
 
bool AJAPerformanceTracking_stop (AJAPerformanceTracking &stats, std::string key)
 
bool AJAPerformanceTracking_report (AJAPerformanceTracking &stats, std::string title="", const char *pFileName=NULL, int32_t lineNumber=-1)
 

Detailed Description

Declaration of the AJAPerformance class.

Definition in file performance.h.

Typedef Documentation

◆ AJAPerformanceExtraMap

typedef std::map<std::string, uint64_t> AJAPerformanceExtraMap

Definition at line 18 of file performance.h.

◆ AJAPerformanceTracking

typedef std::map<std::string, AJAPerformance> AJAPerformanceTracking

Definition at line 154 of file performance.h.

Function Documentation

◆ AJAPerformanceTracking_report()

bool AJAPerformanceTracking_report ( AJAPerformanceTracking stats,
std::string  title = "",
const char *  pFileName = NULL,
int32_t  lineNumber = -1 
)

Definition at line 283 of file performance.cpp.

◆ AJAPerformanceTracking_start() [1/2]

bool AJAPerformanceTracking_start ( AJAPerformanceTracking stats,
std::string  key,
AJATimerPrecision  precision = AJATimerPrecisionMilliseconds,
uint64_t  skipEntries = 0 
)

Definition at line 224 of file performance.cpp.

◆ AJAPerformanceTracking_start() [2/2]

bool AJAPerformanceTracking_start ( AJAPerformanceTracking stats,
std::string  key,
const AJAPerformanceExtraMap extras,
AJATimerPrecision  precision = AJATimerPrecisionMilliseconds,
uint64_t  skipEntries = 0 
)

Definition at line 246 of file performance.cpp.

◆ AJAPerformanceTracking_stop()

bool AJAPerformanceTracking_stop ( AJAPerformanceTracking stats,
std::string  key 
)

Definition at line 269 of file performance.cpp.