Thrill  0.1
ProfileTaskRegistration Class Reference

Detailed Description

Definition at line 36 of file profile_task.hpp.

+ Collaboration diagram for ProfileTaskRegistration:

#include <profile_task.hpp>

Public Member Functions

 ProfileTaskRegistration (const std::chrono::milliseconds &period, ProfileThread &profiler, ProfileTask *task)
 
 ProfileTaskRegistration (const ProfileTaskRegistration &)=delete
 non-copyable: delete copy-constructor More...
 
 ~ProfileTaskRegistration ()
 
ProfileTaskRegistrationoperator= (const ProfileTaskRegistration &)=delete
 non-copyable: delete assignment operator More...
 

Private Attributes

ProfileThreadprofiler_
 profiler at which the task was registered More...
 
ProfileTasktask_
 task to register and unregister More...
 

Constructor & Destructor Documentation

◆ ProfileTaskRegistration() [1/2]

ProfileTaskRegistration ( const std::chrono::milliseconds &  period,
ProfileThread profiler,
ProfileTask task 
)

Definition at line 94 of file profile_thread.cpp.

References ProfileThread::Add(), and ProfileTaskRegistration::profiler_.

◆ ProfileTaskRegistration() [2/2]

non-copyable: delete copy-constructor

◆ ~ProfileTaskRegistration()

Member Function Documentation

◆ operator=()

ProfileTaskRegistration& operator= ( const ProfileTaskRegistration )
delete

non-copyable: delete assignment operator

Member Data Documentation

◆ profiler_

ProfileThread& profiler_
private

profiler at which the task was registered

Definition at line 52 of file profile_task.hpp.

Referenced by ProfileTaskRegistration::ProfileTaskRegistration(), and ProfileTaskRegistration::~ProfileTaskRegistration().

◆ task_

ProfileTask* task_
private

task to register and unregister

Definition at line 54 of file profile_task.hpp.

Referenced by ProfileTaskRegistration::~ProfileTaskRegistration().


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