private void Kernel_ThreadStop(Microsoft.Diagnostics.Tracing.Parsers.Kernel.ThreadTraceData obj) { ThreadData thread = GetThreadData(obj); if (thread != null) { thread.Finish = obj.TimeStamp; } }
private void Kernel_ThreadStart(Microsoft.Diagnostics.Tracing.Parsers.Kernel.ThreadTraceData obj) { ProcessData process = GetProcessData(obj); if (process != null) { process.Threads[obj.ThreadID] = new ThreadData() { ThreadID = obj.ThreadID, Start = obj.TimeStamp, }; } }