HawkTracer  0.8.0
scoped_tracepoint.h File Reference

Go to the source code of this file.

Macros

#define HT_SCOPED_TRACEPOINT_MACRO_ENABLED
 
#define HT_TP_SCOPED_GENERIC_(type, c_type, timeline, label)   HawkTracer::ScopedTracepoint<c_type> HT_UNIQUE_VAR_NAME(ht_tp_scoped_tracepoint)(timeline, ht_feature_callstack_start_##type, label)
 
#define HT_TP_SCOPED_INT(timeline, label)   HT_TP_SCOPED_GENERIC_(int, HT_CallstackEventLabel, timeline, label)
 
#define HT_TP_SCOPED_STRING(timeline, label)   HT_TP_SCOPED_GENERIC_(string, const char*, timeline, label)
 

Macro Definition Documentation

◆ HT_SCOPED_TRACEPOINT_MACRO_ENABLED

#define HT_SCOPED_TRACEPOINT_MACRO_ENABLED

◆ HT_TP_SCOPED_GENERIC_

#define HT_TP_SCOPED_GENERIC_ (   type,
  c_type,
  timeline,
  label 
)    HawkTracer::ScopedTracepoint<c_type> HT_UNIQUE_VAR_NAME(ht_tp_scoped_tracepoint)(timeline, ht_feature_callstack_start_##type, label)

◆ HT_TP_SCOPED_INT

#define HT_TP_SCOPED_INT (   timeline,
  label 
)    HT_TP_SCOPED_GENERIC_(int, HT_CallstackEventLabel, timeline, label)

◆ HT_TP_SCOPED_STRING

#define HT_TP_SCOPED_STRING (   timeline,
  label 
)    HT_TP_SCOPED_GENERIC_(string, const char*, timeline, label)