* Discard any existing trace records. */
| 173 | * Discard any existing trace records. |
| 174 | */ |
| 175 | void TimeTrace::Buffer::reset() |
| 176 | { |
| 177 | for (uint32_t i = 0; i < BUFFER_SIZE; i++) { |
| 178 | if (events[i].format == NULL) { |
| 179 | break; |
| 180 | } |
| 181 | events[i].format = NULL; |
| 182 | } |
| 183 | nextIndex = 0; |
| 184 | } |
| 185 | |
| 186 | /** |
| 187 | * Discards all records in all of the thread-local buffers. Intended |
nothing calls this directly
no outgoing calls
no test coverage detected