EyeAI
Loading...
Searching...
No Matches
Profiling.cpp File Reference
#include "EyeAICore/utils/Profiling.hpp"
#include "EyeAICore/utils/MutexGuard.hpp"
#include <algorithm>
#include <chrono>
#include <format>
Include dependency graph for Profiling.cpp:

Functions

void set_last_depth_profiling_frame_formatted (std::string &&formatted)
 
std::string get_last_depth_profiling_frame_formatted ()
 
ProfilingFrameget_depth_profiling_frame ()
 
ProfilingFrameget_camera_profiling_frame ()
 
void set_last_camera_profiling_frame_formatted (std::string &&formatted)
 
std::string get_last_camera_profiling_frame_formatted ()
 
ProfilingFrameget_object_profiling_frame ()
 
void set_last_object_profiling_frame_formatted (std::string &&formatted)
 
std::string get_last_object_profiling_frame_formatted ()
 
ProfilingFrameget_audio_profiling_frame ()
 
void set_last_audio_profiling_frame_formatted (std::string &&formatted)
 
std::string get_last_audio_profiling_frame_formatted ()
 

Function Documentation

◆ get_audio_profiling_frame()

ProfilingFrame & get_audio_profiling_frame ( )

◆ get_camera_profiling_frame()

ProfilingFrame & get_camera_profiling_frame ( )

◆ get_depth_profiling_frame()

ProfilingFrame & get_depth_profiling_frame ( )

These four functions return global static variables (needed since NativeLib is loaded as a shared library, so a simple static variable does not work). Both ProfilingFrame's are thread-safe

◆ get_last_audio_profiling_frame_formatted()

std::string get_last_audio_profiling_frame_formatted ( )

◆ get_last_camera_profiling_frame_formatted()

std::string get_last_camera_profiling_frame_formatted ( )

◆ get_last_depth_profiling_frame_formatted()

std::string get_last_depth_profiling_frame_formatted ( )

◆ get_last_object_profiling_frame_formatted()

std::string get_last_object_profiling_frame_formatted ( )

◆ get_object_profiling_frame()

ProfilingFrame & get_object_profiling_frame ( )

◆ set_last_audio_profiling_frame_formatted()

void set_last_audio_profiling_frame_formatted ( std::string && formatted)

◆ set_last_camera_profiling_frame_formatted()

void set_last_camera_profiling_frame_formatted ( std::string && formatted)

◆ set_last_depth_profiling_frame_formatted()

void set_last_depth_profiling_frame_formatted ( std::string && formatted)

◆ set_last_object_profiling_frame_formatted()

void set_last_object_profiling_frame_formatted ( std::string && formatted)