HawkTracer  0.8.0
feature_callstack.h
Go to the documentation of this file.
1 #ifndef HAWKTRACER_FEATURE_CALLSTACK_H
2 #define HAWKTRACER_FEATURE_CALLSTACK_H
3 
5 #include <hawktracer/timeline.h>
6 
8 
9 #define HT_FEATURE_CALLSTACK 0
10 
12 
14 
16 
18 
20 
21 HT_API void ht_feature_callstack_start_string(HT_Timeline* timeline, const char* label);
22 
24 
25 #endif /* HAWKTRACER_FEATURE_CALLSTACK_H */
#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:22
HT_API void ht_feature_callstack_disable(HT_Timeline *timeline)
HT_ErrorCode
Defines list of possible errors returned by library functions.
Definition: base_types.h:37
HT_API HT_ErrorCode ht_feature_callstack_enable(HT_Timeline *timeline)
HT_API void ht_feature_callstack_start_string(HT_Timeline *timeline, const char *label)
HT_CallstackBaseEvent
Definition: core_events.h:31
HT_API void ht_feature_callstack_start_int(HT_Timeline *timeline, HT_CallstackEventLabel label)
HT_API void ht_feature_callstack_start(HT_Timeline *timeline, HT_CallstackBaseEvent *event)
#define HT_DECLS_BEGIN
Defines a beginning of C linkage block.
Definition: macros.h:16
uint64_t HT_CallstackEventLabel
Definition: core_events.h:27
HT_API void ht_feature_callstack_stop(HT_Timeline *timeline)