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

Function replaceLineage

flow/flow.cpp:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60void sample(LineageReference* lineagePtr);
61
62void replaceLineage(LineageReference* lineage) {
63 if (!startSampling) {
64 currentLineage = lineage;
65 } else {
66 startSampling = false;
67 sample(currentLineage);
68 currentLineage = lineage;
69 }
70}
71#endif
72
73using namespace std::literals;

Callers 4

LineageScopeMethod · 0.85
~LineageScopeMethod · 0.85
LocalLineageMethod · 0.85
~LocalLineageMethod · 0.85

Calls 1

sampleFunction · 0.85

Tested by

no test coverage detected