MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / write

Method write

lib/ProfileData/SampleProfWriter.cpp:40–81  ·  view source on GitHub ↗

\brief Write samples to a text file. Note: it may be tempting to implement this in terms of FunctionSamples::print(). Please don't. The dump functionality is intended for debugging and has no specified form. The format used here is more structured and deliberate because it needs to be parsed by the SampleProfileReaderText class.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 9

encodeULEB128Function · 0.85
getTotalSamplesMethod · 0.80
getHeadSamplesMethod · 0.80
getSamplesMethod · 0.80
writeFunction · 0.50
getNameMethod · 0.45
getMethod · 0.45
indentMethod · 0.45
firstMethod · 0.45

Tested by

no test coverage detected