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

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)