MCPcopy Create free account
hub / github.com/ByConity/ByConity / writeSuffix

Method writeSuffix

src/DataStreams/CountingBlockOutputStream.cpp:84–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void CountingBlockOutputStream::writeSuffix()
85{
86 stopwatch.start();
87
88 stream->writeSuffix();
89
90 Progress local_progress(0, 0, 0, stopwatch.elapsedMilliseconds());
91 progress.incrementPiecewiseAtomically(local_progress);
92
93 /// Update the write duration to progress
94 if (process_elem)
95 process_elem->updateProgressOut(local_progress);
96
97 if (progress_callback)
98 progress_callback(local_progress);
99}
100
101
102}

Callers

nothing calls this directly

Calls 4

startMethod · 0.45
elapsedMillisecondsMethod · 0.45
updateProgressOutMethod · 0.45

Tested by

no test coverage detected