| 341 | */ |
| 342 | |
| 343 | void PROFILING::restart() |
| 344 | { |
| 345 | while (! history.is_empty()) |
| 346 | delete history.pop(); |
| 347 | |
| 348 | if (current != NULL) |
| 349 | delete current; |
| 350 | /* Ensure that profiling object can be reused */ |
| 351 | profile_id_counter= 1; |
| 352 | current= NULL; |
| 353 | last= NULL; |
| 354 | } |
| 355 | |
| 356 | |
| 357 | /** |
no test coverage detected