• 2019 Update 3
  • 03/07/2019
  • Public Content
  • Download as PDF
Contents

int VT_registernamed (const char * threadname, int thindex)
Description
Registers a new thread with Intel® Trace Collector under the given number and name.
Threads with the same number cannot have different names. If you try doing that, the thread uses the number, but not the new name.
Registering a thread twice with different names or numbers is an error. You can add a name to an already registered thread with
VT_registernamed("new name", -1)
if no name has been set before.
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

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804