MCPcopy Create free account
hub / github.com/dds-bridge/dds / Add

Method Add

library/src/system/time_stat_list.cpp:50–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49
50void TimeStatList::Add(
51 const unsigned Pos,
52 const TimeStat& add)
53{
54 if (Pos < list.size()) {
55 list[Pos] += add;
56 } else {
57 std::cerr << "[E] TimeStatList::Add(): Pos " << Pos << " out of range, size " << list.size() << "\n";
58 }
59}
60
61
62bool TimeStatList::Used() const

Callers 1

EndBlockTimerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected