Intel® Trace Analyzer and Collector User and Reference Guide

ID 767272
Date 3/31/2023
Public
Document Table of Contents

VT_getthrank

int VT_getthrank (int * thrank)

Description

Gets thread index within a process.

Can be assigned either automatically by Intel® Trace Analyzer and Collector, or manually with VT_registerthread().

Fortran

VTGETTHRANK(thrank, ierr)

Return values

thrank thread index within current thread is stored here

Returns error code