Thread Events

Results View ›› Analyzing System Events Tracking Results ››

Thread Events


The Thread Events view provides the following information:


Column Name

Description

Time

Time of the event

Operation

Operation that was performed e.g. QueueWorkItem, CreateThread etc.

Thread ID

Thread ID of the newly created thread

Creation Stack

Stack that triggered the recorded event, e.g. CreateThread.
Please note that creation stack is shown only for operations that respond to asynchronous activity. For other operations (ExitThread, etc.) no stack information is provided.

Parent Thread ID

Thread ID of the parent thread of the newly created thread

Managed Thread ID

Managed thread ID of the newly created thread if available

Parent Managed Thread ID

Managed thread ID of the parent thread of the newly created thread if available

Duration [ms]

Age of the thread measured from thread start to current time or thread termination resp.

Is Alive

True, if the thread was still alive at the time of the snapshot. False, otherwise.



The provided information is helpful to reconstruct thread creation hierarchies, analyze threading issues (execution of asynchronous calls, thread life times).

Please note that some thread creations require unmanaged stack collections, see Tools Options. If unmanaged call stacks are not collected, some creation stacks will be missing.



In order to investigate the thread creation stacks, view the Thread Events - Trigger Stacks.



For efficient thread creation and lifetime analysis, you can either instant filter/search the creation stacks to focus on a limited set of interesting stacks or perform creation stack grouping with to get profiling information in terms frequencies and lifetime duration for specific trigger stacks.