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

Method ms

tests/BS_thread_pool_test.cpp:3462–3465  ·  view source on GitHub ↗

* @brief Get the number of milliseconds stored when `stop()` was last called. * * @return The number of milliseconds. */

Source from the content-addressed store, hash-verified

3460 * @return The number of milliseconds.
3461 */
3462 [[nodiscard]] std::chrono::milliseconds::rep ms() const
3463 {
3464 return (std::chrono::duration_cast<std::chrono::milliseconds>(elapsed_time)).count();
3465 }
3466
3467private:
3468 /**

Callers 1

check_performanceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected