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

Method init

flow/Trace.cpp:906–921  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

904}
905
906bool BaseTraceEvent::init(TraceInterval& interval) {
907 bool result = init();
908 switch (interval.count++) {
909 case 0: {
910 detail("BeginPair", interval.pairID);
911 break;
912 }
913 case 1: {
914 detail("EndPair", interval.pairID);
915 break;
916 }
917 default:
918 ASSERT(false);
919 }
920 return result;
921}
922
923bool BaseTraceEvent::init() {
924 ASSERT(!logged);

Callers 1

initMetricsMethod · 0.45

Calls 15

TraceEventClass · 0.85
nowFunction · 0.85
MetricNameRefClass · 0.85
formatIpPortFunction · 0.85
isAboveThresholdMethod · 0.80
isInjectedFaultMethod · 0.80
initFunction · 0.70
nameMethod · 0.65
StringRefClass · 0.50
isSimulatedMethod · 0.45
c_strMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected