MCPcopy Create free account
hub / github.com/apple/foundationdb / BuggifyInfo

Method BuggifyInfo

flow/Trace.cpp:1450–1460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1448}
1449
1450TraceBatch::BuggifyInfo::BuggifyInfo(double time, int activated, int line, std::string file) {
1451 fields.addField("Severity", format("%d", (int)TRACE_BATCH_IMPLICIT_SEVERITY));
1452 fields.addField("Time", format("%.6f", time));
1453 if (FLOW_KNOBS && FLOW_KNOBS->TRACE_DATETIME_ENABLED) {
1454 fields.addField("DateTime", TraceEvent::printRealTime(time));
1455 }
1456 fields.addField("Type", "BuggifySection");
1457 fields.addField("Activated", format("%d", activated));
1458 fields.addField("File", std::move(file));
1459 fields.addField("Line", format("%d", line));
1460}
1461
1462TraceEventFields::TraceEventFields() : bytes(0), annotated(false) {}
1463

Callers

nothing calls this directly

Calls 3

moveFunction · 0.85
addFieldMethod · 0.80
formatFunction · 0.70

Tested by

no test coverage detected