|
kokkos-execution 0.0.1
|
Count construction, move/copy construction, move/copy assignment and destruction atomically on host. More...
#include <counter.hpp>
Public Member Functions | |
| Counter () noexcept | |
| ~Counter () noexcept | |
| Counter (const Counter &) noexcept | |
| Counter & | operator= (const Counter &) noexcept |
| Counter (Counter &&) noexcept | |
| Counter & | operator= (Counter &&) noexcept |
| template<typename... Args> | |
| void | operator() (Args &&...) const noexcept |
Static Public Member Functions | |
| static void | reset () |
Public Attributes | |
| unsigned int | id {0} |
Static Public Attributes | |
| static std::atomic< unsigned int > | default_constructions {0} |
| static std::atomic< unsigned int > | destructions {0} |
| static std::atomic< unsigned int > | copy_constructions {0} |
| static std::atomic< unsigned int > | copy_assignments {0} |
| static std::atomic< unsigned int > | move_constructions {0} |
| static std::atomic< unsigned int > | move_assignments {0} |
| static std::atomic< unsigned int > | next_id {0} |
Count construction, move/copy construction, move/copy assignment and destruction atomically on host.
Definition at line 9 of file counter.hpp.
|
inlinenoexcept |
Definition at line 21 of file counter.hpp.
References default_constructions, and next_id.
|
inlinenoexcept |
Definition at line 26 of file counter.hpp.
References destructions.
|
inlinenoexcept |
Definition at line 30 of file counter.hpp.
References copy_constructions, Counter(), and next_id.
|
inlinenoexcept |
Definition at line 40 of file counter.hpp.
References Counter(), move_constructions, and next_id.
|
inlinenoexcept |
Definition at line 51 of file counter.hpp.
Definition at line 35 of file counter.hpp.
References copy_assignments, and Counter().
Definition at line 45 of file counter.hpp.
References Counter(), and move_assignments.
|
inlinestatic |
Definition at line 54 of file counter.hpp.
References copy_assignments, copy_constructions, default_constructions, destructions, move_assignments, and move_constructions.
|
inlinestatic |
Definition at line 13 of file counter.hpp.
|
inlinestatic |
Definition at line 12 of file counter.hpp.
|
inlinestatic |
Definition at line 10 of file counter.hpp.
|
inlinestatic |
Definition at line 11 of file counter.hpp.
| unsigned int Tests::Utils::Functors::Counter::id {0} |
Definition at line 19 of file counter.hpp.
|
inlinestatic |
Definition at line 15 of file counter.hpp.
|
inlinestatic |
Definition at line 14 of file counter.hpp.
|
inlinestatic |
Definition at line 17 of file counter.hpp.