MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / SetExpectedRate

Method SetExpectedRate

src/framerate_gui.cpp:285–288  ·  view source on GitHub ↗

Set the rate of expected cycles per second of a performance element. */

Source from the content-addressed store, hash-verified

283
284/** Set the rate of expected cycles per second of a performance element. */
285void PerformanceMeasurer::SetExpectedRate(double rate)
286{
287 _pf_data[this->elem].expected_rate = rate;
288}
289
290/** Mark a performance element as not currently in use. */
291/* static */ void PerformanceMeasurer::SetInactive(PerformanceElement elem)

Callers 1

MxMixSamplesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected