vt::phase::PhaseHookID struct

A registered phase hook used to identify it and unregister it.

Public functions

auto getType() const -> PhaseHook
Get the type of hook.
auto getID() const -> std::size_t
Get the ID of the registered hook.
auto getIsCollective() const -> std::size_t
Get whether the hook is collective or not.
auto getIsRooted() const -> std::size_t
Get whether the hook is rooted or not.

Function documentation

PhaseHook vt::phase::PhaseHookID::getType() const

Get the type of hook.

Returns the type of hook

std::size_t vt::phase::PhaseHookID::getID() const

Get the ID of the registered hook.

Returns the registered hook ID

std::size_t vt::phase::PhaseHookID::getIsCollective() const

Get whether the hook is collective or not.

Returns whether it is collective

std::size_t vt::phase::PhaseHookID::getIsRooted() const

Get whether the hook is rooted or not.

Returns whether it is rooted