• Intel® Graphics Performance Analyzers 2020 R1
  • 12/20/2019
  • Public Content
Contents

Relation API

Relation API 利用合理的关系属性绑定两个命名实例(例如任务)。关系可在实际创建实例之前或之后添加,并独立于实例存在。  
要对若干任务进行逻辑分组,可使用不同类型的关系:
void ITTAPI __itt_relation_add(const __itt_domain *domain, __itt_id head, __itt_relation relation, __itt_id tail)
void ITTAPI __itt_relation_add_ex(const __itt_domain *domain, __itt_clock_domain* clock_domain, unsigned long long timestamp, __itt_id head, __itt_relation relation, __itt_id tail)
下表定义了 Relation API 基元中使用的参数。
类型
参数
描述
[in]
__itt_domain* domain
关系域
[in]
__itt_relation relation
用户定义的两个命名实例之间的逻辑关系
[in]
__itt_id head
元数据名称
[in]
__itt_id tail
两个有关的命名实例的 ID
size_t count
[in]
__itt_clock_domain* clock_domain
用户定义的时钟域
[in]
unsigned long long timestamp
针对相应时钟域的用户定义的时间戳

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804