Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
Counters

Functions

void ITTAPI __itt_counter_inc_v3 (const __itt_domain *domain, __itt_string_handle *name)
 Increment a counter by one. The first call with a given name creates a counter by that name and sets its value to zero on every thread. Successive calls increment the counter value on the thread on which the call is issued. More...
 
void ITTAPI __itt_counter_inc_delta_v3 (const __itt_domain *domain, __itt_string_handle *name, unsigned long long delta)
 Increment a counter by the value specified in delta. More...
 

Detailed Description

Counters are user-defined objects with a monotonically increasing value. Counter values are 64-bit unsigned integers. Counter values are tracked per-thread. Counters have names that can be displayed in the tools.

Function Documentation

◆ __itt_counter_inc_delta_v3()

void ITTAPI __itt_counter_inc_delta_v3 ( const __itt_domain *  domain,
__itt_string_handle *  name,
unsigned long long  delta 
)

Increment a counter by the value specified in delta.

Parameters
[in]domainThe domain controlling the call. Counter names are not domain specific. The domain argument is used only to enable or disable the API calls.
[in]nameThe name of the counter
[in]deltaThe amount by which to increment the counter

◆ __itt_counter_inc_v3()

void ITTAPI __itt_counter_inc_v3 ( const __itt_domain *  domain,
__itt_string_handle *  name 
)

Increment a counter by one. The first call with a given name creates a counter by that name and sets its value to zero on every thread. Successive calls increment the counter value on the thread on which the call is issued.

Parameters
[in]domainThe domain controlling the call. Counter names are not domain specific. The domain argument is used only to enable or disable the API calls.
[in]nameThe name of the counter

Copyright © 2005-2019 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.