rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions
binary_logging.h File Reference

Functions

int getSdCardFieldsCount ()
 
size_t writeSdLogLine (Writer &buffer)
 
void resetFileLogging ()
 

Function Documentation

◆ getSdCardFieldsCount()

int getSdCardFieldsCount ( )

Definition at line 30 of file binary_logging.cpp.

30 {
31 return efi::size(fields);
32}
static const LogField fields[]

Referenced by sdStatistics().

Here is the caller graph for this function:

◆ resetFileLogging()

void resetFileLogging ( )

Definition at line 171 of file binary_logging.cpp.

171 {
172 binaryLogCount = 0;
174}
static uint64_t binaryLogCount
static uint8_t blockRollCounter

Referenced by sdLogger().

Here is the caller graph for this function:

◆ writeSdLogLine()

size_t writeSdLogLine ( Writer buffer)

Definition at line 152 of file binary_logging.cpp.

152 {
153#if EFI_PROD_CODE
154extern bool main_loop_started;
156 return 0;
157#endif //EFI_PROD_CODE
158
159 if (binaryLogCount == 0) {
161
162 return writeFileHeader(bufferedWriter);
163 } else {
165
167 return writeSdBlock(bufferedWriter);
168 }
169}
static size_t writeFileHeader(Writer &outBuffer)
static size_t writeSdBlock(Writer &outBuffer)
bool main_loop_started
Definition rusefi.cpp:143
void updateTunerStudioState()

Referenced by mlgLogger().

Here is the call graph for this function:
Here is the caller graph for this function:

Go to the source code of this file.