BioDynaMo  v1.05.120-25dc9790
Public Member Functions | Private Attributes | List of all members
bdm::VTuneTask Class Reference

#include <vtune_helper.h>

Collaboration diagram for bdm::VTuneTask:
[legend]

Public Member Functions

 VTuneTask (const std::string &task_name)
 
void Start ()
 
void Stop ()
 

Private Attributes

__itt_domaindomain_
 
__itt_string_handletask_
 

Detailed Description

Wrapper class to track the execution of a task with VTune. Usage: ... VTuneTask foo("my_task_name"); foo.Start(); MyOp op; op(); foo.Stop(); ... In VTune you will see the above operation in the analysis results marked with "my_task_name"

Definition at line 32 of file vtune_helper.h.

Constructor & Destructor Documentation

◆ VTuneTask()

bdm::VTuneTask::VTuneTask ( const std::string &  task_name)
inlineexplicit

Definition at line 34 of file vtune_helper.h.

Member Function Documentation

◆ Start()

void bdm::VTuneTask::Start ( )
inline

Definition at line 39 of file vtune_helper.h.

◆ Stop()

void bdm::VTuneTask::Stop ( )
inline

Definition at line 41 of file vtune_helper.h.

Member Data Documentation

◆ domain_

__itt_domain* bdm::VTuneTask::domain_
private

Definition at line 44 of file vtune_helper.h.

◆ task_

__itt_string_handle* bdm::VTuneTask::task_
private

Definition at line 45 of file vtune_helper.h.


The documentation for this class was generated from the following file: