AJA NTV2 SDK  17.1.1.1245
NTV2 SDK 17.1.1.1245
performance.cpp File Reference

Monitors the operational performance, timing, and stats of an arbitrary module. More...

#include "ajabase/common/performance.h"
#include "ajabase/system/debug.h"
#include <iomanip>
#include <sstream>
#include <math.h>
Include dependency graph for performance.cpp:

Go to the source code of this file.

Macros

#define UINT64_MAX   18446744073709551615
 

Functions

bool AJAPerformanceTracking_start (AJAPerformanceTracking &stats, std::string key, AJATimerPrecision precision, uint64_t skipEntries)
 
bool AJAPerformanceTracking_start (AJAPerformanceTracking &stats, std::string key, const AJAPerformanceExtraMap &extras, AJATimerPrecision precision, uint64_t skipEntries)
 
bool AJAPerformanceTracking_stop (AJAPerformanceTracking &stats, std::string key)
 
bool AJAPerformanceTracking_report (AJAPerformanceTracking &stats, std::string title, const char *pFileName, int32_t lineNumber)
 

Detailed Description

Monitors the operational performance, timing, and stats of an arbitrary module.

Definition in file performance.cpp.

Macro Definition Documentation

◆ UINT64_MAX

#define UINT64_MAX   18446744073709551615

Definition at line 27 of file performance.cpp.

Function Documentation

◆ AJAPerformanceTracking_report()

bool AJAPerformanceTracking_report ( AJAPerformanceTracking stats,
std::string  title,
const char *  pFileName,
int32_t  lineNumber 
)

Definition at line 283 of file performance.cpp.

◆ AJAPerformanceTracking_start() [1/2]

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

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,
uint64_t  skipEntries 
)

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.