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

Method AddAccumulate

src/framerate_gui.cpp:110–113  ·  view source on GitHub ↗

Accumulate a period onto the current measurement */

Source from the content-addressed store, hash-verified

108
109 /** Accumulate a period onto the current measurement */
110 void AddAccumulate(TimingMeasurement duration)
111 {
112 this->acc_duration += duration;
113 }
114
115 /** Indicate a pause/expected discontinuity in processing the element */
116 void AddPause(TimingMeasurement start_time)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected