MCPcopy Create free account
hub / github.com/davisking/dlib / console_progress_indicator

Method console_progress_indicator

dlib/console_progress_indicator.h:116–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114// ----------------------------------------------------------------------------------------
115
116 console_progress_indicator::
117 console_progress_indicator (
118 double target_value
119 ) :
120 target_val(target_value),
121 start_time(std::chrono::steady_clock::now()),
122 first_val(0),
123 seen_first_val(false),
124 last_time(std::chrono::steady_clock::now())
125 {
126 }
127
128// ----------------------------------------------------------------------------------------
129

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected