Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Utility class to mark an event when the object is destroyed. More...
#include <runtime-profile.h>
Public Member Functions | |
ScopedEvent (RuntimeProfile::EventSequence *event_sequence, const std::string &label) | |
~ScopedEvent () | |
Mark the event when the object is destroyed. More... | |
Private Member Functions | |
ScopedEvent (const ScopedEvent &event) | |
Disable copy constructor and assignment. More... | |
ScopedEvent & | operator= (const ScopedEvent &event) |
Private Attributes | |
const std::string | label_ |
RuntimeProfile::EventSequence * | event_sequence_ |
Utility class to mark an event when the object is destroyed.
Definition at line 654 of file runtime-profile.h.
|
inline |
Definition at line 656 of file runtime-profile.h.
|
inline |
Mark the event when the object is destroyed.
Definition at line 662 of file runtime-profile.h.
References event_sequence_, label_, and impala::RuntimeProfile::EventSequence::MarkEvent().
|
private |
Disable copy constructor and assignment.
|
private |
|
private |
Definition at line 672 of file runtime-profile.h.
Referenced by ~ScopedEvent().
|
private |
Definition at line 671 of file runtime-profile.h.
Referenced by ~ScopedEvent().