MCPcopy Create free account
hub / github.com/David-Haim/concurrencpp / set_frequency

Method set_frequency

source/timers/timer.cpp:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void timer::set_frequency(std::chrono::milliseconds new_frequency) {
87 throw_if_empty(details::consts::k_timer_empty_set_frequency_err_msg);
88 return m_state->set_new_frequency(new_frequency.count());
89}
90
91timer& timer::operator=(timer&& rhs) noexcept {
92 if (this == &rhs) {

Callers 2

set_new_frequencyMethod · 0.80

Calls 1

set_new_frequencyMethod · 0.80

Tested by 2

set_new_frequencyMethod · 0.64