Intel® Advisor User Guide

ID 766448
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Thread Information

Occurs when a thread is created. In this case, this message provides informational feedback and no action is required.

Expect at least one such message when the main program's thread is created by the operating system. If you are running the Dependencies tool on a partially parallelized target, expect additional messages for each thread the program creates.

The creation site of the main program thread is the point where the main() function - or other standard entry point line _wmain() - is called from the startup initialization code.

Syntax

Problem type: Thread information

ID

Code Location

Description

1

Creation site

Represents the location and call stack where a thread was created.

Example

ANNOTATE_SITE_BEGIN(name1);
for (int i = 0; i < n; ++i) 
{
    ANNOTATE_ITERATION_TASK(task_process_array);
    process(array1[i]);
}
ANNOTATE_SITE_END();
. . .
// create thread using parallel framework code or CreateThread() 
for (int i = 0; i < n; ++i) 
{
    process(array2[i]);
}