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

Function getCurrentLineage

flow/flow.cpp:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52#ifdef ENABLE_SAMPLING
53LineageReference getCurrentLineage() {
54 if (!currentLineage->isValid() || !currentLineage->isAllocated()) {
55 currentLineage->allocate();
56 }
57 return *currentLineage;
58}
59
60void sample(LineageReference* lineagePtr);
61

Calls 3

isAllocatedMethod · 0.80
isValidMethod · 0.45
allocateMethod · 0.45

Tested by

no test coverage detected