| 48 | |
| 49 | |
| 50 | void 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 | |
| 62 | bool TimeStatList::Used() const |