srs-control 0.2.2
Loading...
Searching...
No Matches
srs::AppReport Class Reference

#include <AppReport.hpp>

Collaboration diagram for srs::AppReport:

Classes

struct  TaskStat
struct  FecSwitchStat
struct  FrameReadingStat
struct  QueueStat

Public Member Functions

void register_switch_socket_result (std::string socket_name, std::vector< std::pair< std::string, FecSwitchStat > > socket_times)
void register_frame_reading_result (std::string name, const FrameReadingStat &stat)
void register_task_result (std::string_view task_name, const std::vector< TaskStat > &process_times)
void register_output_sink_result (std::string_view sink_name, const std::vector< std::size_t > &bytes_written)
void register_queue_result (const QueueStat &stat)
 ~AppReport ()

Private Member Functions

void report_task_result ()
void report_sink_file_result ()
void report_socket_result ()
void report_buffer_result ()
void report_frame_reading_result ()

Private Attributes

std::map< std::string, std::vector< TaskStat > > task_records_
std::map< std::string, std::vector< std::size_t > > sink_records_
std::vector< std::pair< std::string, std::vector< std::pair< std::string, FecSwitchStat > > > > switch_socket_records_
std::vector< std::pair< std::string, FrameReadingStat > > frame_reading_records_
std::pair< std::string_view, QueueStat > queue_record_ { std::string_view{ "Counts" }, {} }

Detailed Description

Definition at line 14 of file AppReport.hpp.

Constructor & Destructor Documentation

◆ ~AppReport()

srs::AppReport::~AppReport ( )

Definition at line 224 of file AppReport.cpp.

Member Function Documentation

◆ register_frame_reading_result()

void srs::AppReport::register_frame_reading_result ( std::string name,
const FrameReadingStat & stat )
inline

Definition at line 53 of file AppReport.hpp.

◆ register_output_sink_result()

void srs::AppReport::register_output_sink_result ( std::string_view sink_name,
const std::vector< std::size_t > & bytes_written )
inline

Definition at line 63 of file AppReport.hpp.

◆ register_queue_result()

void srs::AppReport::register_queue_result ( const QueueStat & stat)
inline

Definition at line 68 of file AppReport.hpp.

◆ register_switch_socket_result()

void srs::AppReport::register_switch_socket_result ( std::string socket_name,
std::vector< std::pair< std::string, FecSwitchStat > > socket_times )
inline

Definition at line 47 of file AppReport.hpp.

◆ register_task_result()

void srs::AppReport::register_task_result ( std::string_view task_name,
const std::vector< TaskStat > & process_times )
inline

Definition at line 58 of file AppReport.hpp.

◆ report_buffer_result()

void srs::AppReport::report_buffer_result ( )
private

Definition at line 206 of file AppReport.cpp.

◆ report_frame_reading_result()

void srs::AppReport::report_frame_reading_result ( )
private

Definition at line 183 of file AppReport.cpp.

◆ report_sink_file_result()

void srs::AppReport::report_sink_file_result ( )
private

Definition at line 102 of file AppReport.cpp.

◆ report_socket_result()

void srs::AppReport::report_socket_result ( )
private

Definition at line 146 of file AppReport.cpp.

◆ report_task_result()

void srs::AppReport::report_task_result ( )
private

Definition at line 120 of file AppReport.cpp.

Member Data Documentation

◆ frame_reading_records_

std::vector<std::pair<std::string, FrameReadingStat> > srs::AppReport::frame_reading_records_
private

Definition at line 76 of file AppReport.hpp.

◆ queue_record_

std::pair<std::string_view, QueueStat> srs::AppReport::queue_record_ { std::string_view{ "Counts" }, {} }
private

Definition at line 77 of file AppReport.hpp.

◆ sink_records_

std::map<std::string, std::vector<std::size_t> > srs::AppReport::sink_records_
private

Definition at line 74 of file AppReport.hpp.

◆ switch_socket_records_

std::vector<std::pair<std::string, std::vector<std::pair<std::string, FecSwitchStat> > > > srs::AppReport::switch_socket_records_
private

Definition at line 75 of file AppReport.hpp.

◆ task_records_

std::map<std::string, std::vector<TaskStat> > srs::AppReport::task_records_
private

Definition at line 73 of file AppReport.hpp.


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