Use the Rename Thread dialog box to assign a new name to an active thread in the threads list display of the Run Summary window. You cannot rename a thread that has exited.
These are the main controls in the window:
Notes:
§ Quantify labels threads with the name of the thread start function and a sequence number, for example: .<StartFunctionName>_<OrdinalNumber>.; or, when debug symbol information is not available for a function, .thread_<OrdinalNumber>. If your application launches threads in a non-deterministic order, Quantify may not be able to match identical threads when you compare runs. Assigning unique names to the threads you are interested in will ensure that their measurement data can be correctly compared between program runs.
§ When you rename a thread whose label contains an ordinal number, Quantify resequences the ordinals of all threads. For example, if you rename thread .thread_2., Quantify renames .thread_3. to .thread_2., .thread_4. to .thread_3., and so on.
§ You can also use the QuantifySetThreadName API function in your program code to assign unique names to threads.
(C) Copyright IBM Corporation 1993, 2009.