MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / nextProgress

Method nextProgress

src/openms/source/CONCEPT/ProgressLogger.cpp:242–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240 current_logger_->setProgress(value, recursion_depth_);
241 }
242 void ProgressLogger::nextProgress() const
243 {
244 auto p = current_logger_->nextProgress();
245 // update only if at least 1 second has passed
246 if (last_invoke_ == time(nullptr))
247 {
248 return;
249 }
250
251 last_invoke_ = time(nullptr);
252 current_logger_->setProgress(p, recursion_depth_);
253 }
254
255 void ProgressLogger::endProgress(UInt64 bytes_processed) const
256 {

Callers 7

main_Method · 0.45
buildGraph_Method · 0.45
endElementMethod · 0.45

Calls 1

setProgressMethod · 0.45

Tested by

no test coverage detected