1 #ifndef HAWKTRACER_GLOBAL_TIMELINE_H 2 #define HAWKTRACER_GLOBAL_TIMELINE_H 19 #define HT_TP_GLOBAL_SCOPED_INT(int_label) HT_TP_SCOPED_INT(ht_global_timeline_get(), int_label) 24 #define HT_TP_GLOBAL_SCOPED_STRING(string_label) HT_TP_SCOPED_STRING(ht_global_timeline_get(), string_label) 29 #define HT_TP_G_STRACEPOINT(label) HT_TP_STRACEPOINT(ht_global_timeline_get(), label) 34 #define HT_TP_G_DYN_STRACEPOINT(label) HT_TP_DYN_STRACEPOINT(ht_global_timeline_get(), label) 39 #define HT_TP_G_FUNCTION() HT_TP_FUNCTION(ht_global_timeline_get()) 44 #define HT_G_TRACE(string_label) HT_TRACE(ht_global_timeline_get(), string_label) 46 #ifdef HT_TP_STRACEPOINT 51 #define HT_G_TRACE_FUNCTION() HT_TRACE_FUNCTION_OPT(ht_global_timeline_get()) 55 #define HT_G_TRACE_OPT_STATIC(static_string_label) HT_TRACE_OPT_STATIC(ht_global_timeline_get(), static_string_label) 57 #define HT_G_TRACE_FUNCTION() HT_TRACE_FUNCTION(ht_global_timeline_get()) 63 #define HT_G_TRACE_OPT_DYNAMIC(static_string_label) HT_TRACE_OPT_DYNAMIC(ht_global_timeline_get(), static_string_label) #define HT_API
Defines a directive for exporting/importing symbols from DLL.
Definition: macros.h:76
#define HT_DECLS_END
Defines an end of C linkage block.
Definition: macros.h:17
typedefHT_DECLS_BEGIN struct _HT_Timeline HT_Timeline
Definition: timeline.h:23
Stores a map of strings and their hash values.
#define HT_DECLS_BEGIN
Defines a beginning of C linkage block.
Definition: macros.h:16
HT_DECLS_BEGIN HT_API HT_Timeline * ht_global_timeline_get(void)
Gets a Global Timeline for the current thread.