HawkTracer  0.10.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 
10 
12 
14 
15 HT_API void ht_feature_callstack_start_string(HT_Timeline* timeline, const char* label);
16 
18 
20 
21 #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:23
HT_ErrorCode
Defines list of possible errors returned by library functions.
Definition: base_types.h:48
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_DECLS_BEGIN HT_API void ht_feature_callstack_start(HT_Timeline *timeline, HT_CallstackBaseEvent *event)
HT_API void ht_feature_callstack_start_int(HT_Timeline *timeline, HT_CallstackEventLabel label)
#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)