MCPcopy Create free account
hub / github.com/bshoshany/thread-pool / start

Method start

tests/BS_thread_pool_test.cpp:3444–3447  ·  view source on GitHub ↗

* @brief Start (or restart) measuring time. Note that the timer starts ticking as soon as the object is created, so this is only necessary if we want to restart the clock later. */

Source from the content-addressed store, hash-verified

3442 * @brief Start (or restart) measuring time. Note that the timer starts ticking as soon as the object is created, so this is only necessary if we want to restart the clock later.
3443 */
3444 void start()
3445 {
3446 start_time = std::chrono::steady_clock::now();
3447 }
3448
3449 /**
3450 * @brief Stop measuring time and store the elapsed time since the object was constructed or since `start()` was last called.

Callers 1

check_performanceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected