ON THIS PAGE

  • BenchmarkReport
  • Message Details
  • Reference

BenchmarkReport

This message is generated by the BenchmarkIn node and is used for reporting performance metrics of your DepthAI pipeline in real time. The BenchmarkReport contains key statistics such as the frames per second (FPS), total elapsed time during the benchmark period, the number of messages processed, individual message latencies, and the average latency.

Message Details

fps The measured frames per second (FPS) at which the node processes messages.timeTotal The total time (in milliseconds) that has elapsed during the benchmarking period.numMessagesReceived:
The number of messages received and processed during the current benchmark period.
latencies:
A list of latencies (in milliseconds) for each processed message, which can help in understanding the distribution of processing delays.
averageLatency:
The average latency (in milliseconds) computed over all processed messages.

Reference

class

dai::BenchmarkReport

#include BenchmarkReport.hpp
variable
float fps
variable
float timeTotal
variable
float numMessagesReceived
variable
float averageLatency
variable
std::vector< float > latencies
function
BenchmarkReport()
inline function
void serialize(std::vector< std::uint8_t > & metadata, DatatypeEnum & datatype)
function
DEPTHAI_SERIALIZE(BenchmarkReport, Buffer::sequenceNum, Buffer::ts, Buffer::tsDevice, fps, timeTotal, numMessagesReceived, averageLatency, latencies)

Need assistance?

Head over to Discussion Forum for technical support or any other questions you might have.