KiCad PCB EDA Suite
Loading...
Searching...
No Matches
trace_capture.h File Reference
#include <map>
#include <wx/log.h>
#include <wx/string.h>

Go to the source code of this file.

Classes

class  DRC_PROFILE_LOG
 wxLog chain target that scrapes the engine's "KICAD_DRC_PROFILE" trace channel. More...
 

Functions

int RunTraceCaptureSelftest ()
 Run the three fixed self-test lines through a fresh parser and confirm the parsed provider map and total match the expected values.
 

Function Documentation

◆ RunTraceCaptureSelftest()

int RunTraceCaptureSelftest ( )

Run the three fixed self-test lines through a fresh parser and confirm the parsed provider map and total match the expected values.

Returns 0 on success, non-zero on any mismatch so main() can propagate it as the process exit code.

Definition at line 121 of file trace_capture.cpp.

References DRC_PROFILE_LOG::ParseLine(), DRC_PROFILE_LOG::ProviderMs(), and DRC_PROFILE_LOG::TotalMs().

Referenced by main().