16 std::chrono::high_resolution_clock::time_point
started;
17 std::chrono::high_resolution_clock::time_point
ended;
25 : invocation( nullptr )
33 : invocation( other.invocation )
34 , owner( other.owner )
36 other.invocation =
nullptr;
40 : invocation( invocation )
48 owner->deallocate( invocation );
55 other.invocation =
nullptr;
59 operator bool() {
return invocation !=
nullptr; }
std::chrono::high_resolution_clock::time_point started
small_heap< callback_invocation, 1 > callbacks_heap
callback_invocation * invocation
std::chrono::high_resolution_clock::time_point ended
callback_invocation_holder(callback_invocation *invocation, callbacks_heap *owner)
callback_invocation_holder()
~callback_invocation_holder()
callback_invocation_holder(callback_invocation_holder &&other)
callback_invocation_holder & operator=(callback_invocation_holder &&other)