User Guide

  • 2022.2
  • 08/08/2022
  • Public Content
Contents

VT_tracestate

int VT_tracestate (int * state)

Description

Gets logging state of current thread.
Set by configuration options
PROCESS/CLUSTER
, modified by
VT_traceon/off()
.
There are three states:
  • 0 = thread is logging
  • 1 = thread is currently not logging
  • 2 = logging has been turned off completely
Different threads within one process may be in state 0 and 1 at the same time because
VT_traceon/off()
sets the state of the calling thread, but not for the whole process.
State 2 is set through the configuration option
PROCESS/CLUSTER NO
for the whole process and cannot be changed.

Fortran

VTTRACESTATE( state, ierr )

Return values

state
is set to current state
Returns error code

Product and Performance Information

1

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