//--------------------------------------------------------------------------
/// Clear all logged data. Overridden because this TraceAnalyzer collects multiple
/// instances of the same data, so it all has to be deallocated.
//--------------------------------------------------------------------------
void MultithreadedTraceAnalyzerLayer::Clear()
{
    ClearCPUThreadTraceData();

    // We've just killed all the APIEntries above, so our profiling results list is invalid. Clear it as well.
    ClearProfilingResults();
}
//--------------------------------------------------------------------------
/// MultithreadedTraceAnalyzerLayer's destructor, in which all trace buffers are destroyed.
//--------------------------------------------------------------------------
MultithreadedTraceAnalyzerLayer::~MultithreadedTraceAnalyzerLayer()
{
    // Destroy all of the buffered trace data.
    ClearCPUThreadTraceData();
}
//--------------------------------------------------------------------------
/// Clear all logged data. Overridden because this TraceAnalyzer collects multiple
/// instances of the same data, so it all has to be deallocated.
//--------------------------------------------------------------------------
void MultithreadedTraceAnalyzerLayer::Clear()
{
    ClearCPUThreadTraceData();
}