traceEvent.hpp revision 4423
4141N/A * or visit www.oracle.com if you need additional information or have any
4141N/Aenum EventStartTime {
4141N/A#include "trace/traceBackend.hpp"
4141N/A#include "trace/tracing.hpp"
4141N/A#include "tracefiles/traceEventIds.hpp"
4141N/A#include "tracefiles/traceTypes.hpp"
4141N/A bool _committed;
4141N/A bool _cancelled;
4141N/A bool _ignore_check;
4141N/A _startTime(0),
4141N/A _committed(false),
4141N/A _cancelled(false),
4141N/A _ignore_check(false)
4141N/A if (T::is_enabled()) {
4141N/A static bool is_enabled() {
4141N/A bool should_commit() {
4141N/A void ignoreCheck() {
4141N/A if (!should_commit()) {
4141N/A if (static_cast<T*>(this)->should_write()) {
4141N/A static_cast<T*>(this)->writeEvent();
4141N/A bool is_instant() const {
4141N/A bool is_requestable() const {
4141N/A return T::isRequestable;
4141N/A bool has_thread() const {
4141N/A bool has_stacktrace() const {
4141N/A return T::hasStackTrace;
4141N/A void set_commited() {
4141N/A ~TraceEvent() {