| 571 | |
| 572 | |
| 573 | void MemoryProfiler::ProfilingRun::extend( |
| 574 | MemoryProfiler* profiler, |
| 575 | const Duration& duration) |
| 576 | { |
| 577 | Duration remaining = timer.timeout().remaining(); |
| 578 | Clock::cancel(timer); |
| 579 | timer = delay( |
| 580 | remaining + duration, |
| 581 | profiler, |
| 582 | &MemoryProfiler::stopAndGenerateRawProfile); |
| 583 | } |
| 584 | |
| 585 | |
| 586 | MemoryProfiler::DiskArtifact::DiskArtifact( |
no test coverage detected