User Guide

  • 2022.2
  • 08/08/2022
  • Public Content
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

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.