IntelĀ® Trace Collector User and Reference Guide

VT_registerprefixed

int VT_registerprefixed (const char * threadname, int thindex)

Description

This functions is identical to VT_registernamed, with the only difference that it appends the process number as a prefix for the thread name. For example, for threadname = "ThreadA" and process number 127, the resulting thread name displayed in Intel® Trace Analyzer will be "P127 ThreadA".

Parameters

threadname desired name of the thread, or NULL/empty string if no name wanted
thindex desired thread number, pass negative number to let IntelĀ® Trace Collector pick a number

Return values

Returns error code, see VT_registerthread