Skyward boardcore
Loading...
Searching...
No Matches
Boardcore::LoggerStats Struct Reference

Statistics for the logger. More...

#include <LoggerStats.h>

Static Public Member Functions

static constexpr auto reflect ()
 

Public Attributes

uint64_t timestamp = 0
 
int32_t logNumber = 0
 Number of dropped samples because they where too large.
 
int32_t tooLargeSamples = 0
 
int32_t droppedSamples
 Number of dropped samples due to fifo full.
 
int32_t queuedSamples = 0
 Number of samples written to buffer.
 
int32_t queuedMappings = 0
 Number of mappings written to buffer.
 
int32_t buffersFilled = 0
 Number of buffers filled.
 
int32_t buffersWritten = 0
 Number of buffers written to disk.
 
int32_t writesFailed = 0
 Number of fwrite() that failed.
 
int32_t lastWriteError = 0
 Error of the last fwrite() that failed.
 
int32_t averageWriteTime
 Average time for an fwrite() of a buffer.
 
int32_t maxWriteTime = 0
 Max time for an fwrite() of a buffer.
 

Detailed Description

Statistics for the logger.

Definition at line 34 of file LoggerStats.h.

Member Function Documentation

◆ reflect()

static constexpr auto Boardcore::LoggerStats::reflect ( )
inlinestaticconstexpr

Definition at line 55 of file LoggerStats.h.

Member Data Documentation

◆ averageWriteTime

int32_t Boardcore::LoggerStats::averageWriteTime
Initial value:
=
0

Average time for an fwrite() of a buffer.

Definition at line 51 of file LoggerStats.h.

◆ buffersFilled

int32_t Boardcore::LoggerStats::buffersFilled = 0

Number of buffers filled.

Definition at line 47 of file LoggerStats.h.

◆ buffersWritten

int32_t Boardcore::LoggerStats::buffersWritten = 0

Number of buffers written to disk.

Definition at line 48 of file LoggerStats.h.

◆ droppedSamples

int32_t Boardcore::LoggerStats::droppedSamples
Initial value:
=
0

Number of dropped samples due to fifo full.

Definition at line 43 of file LoggerStats.h.

◆ lastWriteError

int32_t Boardcore::LoggerStats::lastWriteError = 0

Error of the last fwrite() that failed.

Definition at line 50 of file LoggerStats.h.

◆ logNumber

int32_t Boardcore::LoggerStats::logNumber = 0

Number of dropped samples because they where too large.

Definition at line 38 of file LoggerStats.h.

◆ maxWriteTime

int32_t Boardcore::LoggerStats::maxWriteTime = 0

Max time for an fwrite() of a buffer.

Definition at line 53 of file LoggerStats.h.

◆ queuedMappings

int32_t Boardcore::LoggerStats::queuedMappings = 0

Number of mappings written to buffer.

Definition at line 46 of file LoggerStats.h.

◆ queuedSamples

int32_t Boardcore::LoggerStats::queuedSamples = 0

Number of samples written to buffer.

Definition at line 45 of file LoggerStats.h.

◆ timestamp

uint64_t Boardcore::LoggerStats::timestamp = 0

Definition at line 36 of file LoggerStats.h.

◆ tooLargeSamples

int32_t Boardcore::LoggerStats::tooLargeSamples = 0

Definition at line 41 of file LoggerStats.h.

◆ writesFailed

int32_t Boardcore::LoggerStats::writesFailed = 0

Number of fwrite() that failed.

Definition at line 49 of file LoggerStats.h.


The documentation for this struct was generated from the following file: