Visible to Intel only — GUID: GUID-82DA6D95-FCA4-48F7-89C5-A02EFDA7709A
Tracing Conventional MPI Applications
Tracing Failing MPI Applications
Tracing OpenSHMEM* Applications
Tracing MPI File IO
Handling of Communicator Names
Tracing MPI Load Imbalance
Tracing User Defined Events
Configuring the Collector
Filtering Trace Data
Recording OpenMP* Regions Information
Tracing System Calls (Linux* OS)
Collecting Lightweight Statistics
Recording Source Location Information
Recording Hardware Performance Information (Linux* OS)
Recording Operating System Counters
Tracing Library Calls
Correctness Checking
Tracing Distributed Non-MPI Applications
ACTIVITY
ALTSTACK
AUTOFLUSH
CHECK
CHECK-LEAK-REPORT-SIZE
CHECK-MAX-DATATYPES
CHECK-MAX-ERRORS
CHECK-MAX-PENDING
CHECK-MAX-REPORTS
CHECK-MAX-REQUESTS
CHECK-SUPPRESSION-LIMIT
CHECK-TIMEOUT
CHECK-TRACING
CLUSTER
COMPRESS-RAW-DATA
COUNTER
CURRENT-DIR
DEADLOCK-TIMEOUT
DEADLOCK-WARNING
DEMANGLE
DETAILED-STATES
ENTER-USERCODE
ENVIRONMENT
EXTENDED-VTF
FLUSH-PID
FLUSH-PREFIX
GROUP
HANDLE-SIGNALS
INTERNAL-MPI
KEEP-RAW-EVENTS
LOGFILE-FORMAT
LOGFILE-NAME
LOGFILE-PREFIX
LOGFILE-RANK
MEM-BLOCKSIZE
MEM-FLUSHBLOCKS
MEM-INFO
MEM-MAXBLOCKS
MEM-MINBLOCKS
MEM-OVERWRITE
NMCMD
OS-COUNTER-DELAY
PCTRACE
PCTRACE-CACHE
PCTRACE-FAST
PLUGIN
PROCESS
PROGNAME
PROTOFILE-NAME
STATISTICS
STATE
STF-PROCS-PER-FILE
STF-USE-HW-STRUCTURE
STOPFILE-NAME
SYMBOL
SYNC-MAX-DURATION
SYNC-MAX-MESSAGES
SYNC-PERIOD
SYNCED-CLUSTER
SYNCED-HOST
TIME-WINDOWS (Experimental)
TIMER
TIMER-SKIP
UNIFY-COUNTERS
UNIFY-GROUPS
UNIFY-SCLS
UNIFY-SYMBOLS
VERBOSE
VT_START_PAUSED
VT_COMPRESS_TRACE
Parameter Checking
Premature Exit
Overlapping Memory
Detecting Illegal Buffer Modifications
Buffer Given to MPI Cannot Be Read or Written
Distributed Memory Checking
Illegal Memory Access
Request Handling
Datatype Handling
Buffered Sends
Deadlocks
Checking Message Transmission
Datatype Mismatches
Data Modified during Transmission
Checking Collective Operations
Freeing Communicators
Process Aggregation
Function Aggregation
Function Group Color Editor
Filtering Dialog Box
Tagging Dialog Box
Idealization Dialog Box
Imbalance Diagram Dialog Box
Trace Merge Dialog Box
Details Dialog Box
Source View Dialog
Time Interval Selection
Configuration Dialogs
Find Dialog Box
Command line for Intel® VTune™ Profiler and Intel® Advisor Dialog Box
OTF2 to STF Conversion Dialog Box
Configuration Assistant
Visible to Intel only — GUID: GUID-82DA6D95-FCA4-48F7-89C5-A02EFDA7709A
VT_countsetcallback
int VT_countsetcallback( VT_CountCallback_t callback, void *custom, int ncounters )
Description
Sets a callback for counter sampling for the calling thread.
The data provided by the callback is logged with the same time stamp as the event that triggered the callback. The callback must be set for each thread individually. Setting NULL disables sampling for the thread.
Parameters
callback | address of the callback function or NULL |
custom | opaque data that is passed to the callback function by the Intel® Trace Analyzer and Collector; can be used by the callback function to identify the thread or enabled counters |
ncounters | upper limit for the number of counters returned by the callback. It is not a problem to specify a number that is larger than the one that will be actually used, because the extra memory provided to the callback function will be reused efficiently. |
Return values
Returns error code
Parent topic: Initialization, Termination and Control