18 uint64_t expected_time_between_calls);
45 #define PRINTFATTR(f, a) __attribute__((__format__(__printf__, f, a))) 47 #define PRINTFATTR(f, a) 52 const
char *format, ...);
73 const char *filename);
75 const char *filename);
97 EXPORT profiler_time_entries_t *
106 EXPORT profiler_time_entries_t *
EXPORT void profile_snapshot_free(profiler_snapshot_t *snap)
struct profiler_snapshot profiler_snapshot_t
Definition: profiler.h:10
EXPORT profiler_time_entries_t * profiler_snapshot_entry_times_between_calls(profiler_snapshot_entry_t *entry)
EXPORT profiler_name_store_t * profiler_name_store_create(void)
EXPORT size_t profiler_snapshot_num_roots(profiler_snapshot_t *snap)
EXPORT uint64_t profiler_snapshot_entry_overall_between_calls_count(profiler_snapshot_entry_t *entry)
bool(* profiler_entry_enum_func)(void *context, profiler_snapshot_entry_t *entry)
Definition: profiler.h:66
EXPORT void profile_register_root(const char *name, uint64_t expected_time_between_calls)
typedef DARRAY(profiler_time_entry_t) profiler_time_entries_t
EXPORT profiler_snapshot_t * profile_snapshot_create(void)
EXPORT size_t profiler_snapshot_num_children(profiler_snapshot_entry_t *entry)
EXPORT void profiler_free(void)
uint64_t time_delta
Definition: profiler.h:60
EXPORT void profile_end(const char *name)
EXPORT bool profiler_snapshot_dump_csv(const profiler_snapshot_t *snap, const char *filename)
unsigned __int64 uint64_t
Definition: vc_stdint.h:33
EXPORT uint64_t profiler_snapshot_entry_min_time(profiler_snapshot_entry_t *entry)
uint64_t count
Definition: profiler.h:61
EXPORT void profiler_name_store_free(profiler_name_store_t *store)
EXPORT uint64_t profiler_snapshot_entry_max_time_between_calls(profiler_snapshot_entry_t *entry)
EXPORT void profiler_snapshot_enumerate_roots(profiler_snapshot_t *snap, profiler_entry_enum_func func, void *context)
EXPORT const char * profiler_snapshot_entry_name(profiler_snapshot_entry_t *entry)
EXPORT void profile_start(const char *name)
EXPORT void profiler_snapshot_enumerate_children(profiler_snapshot_entry_t *entry, profiler_entry_enum_func func, void *context)
#define EXPORT
Definition: c99defs.h:49
struct profiler_snapshot_entry profiler_snapshot_entry_t
Definition: profiler.h:11
EXPORT void profiler_start(void)
EXPORT uint64_t profiler_snapshot_entry_min_time_between_calls(profiler_snapshot_entry_t *entry)
EXPORT uint64_t profiler_snapshot_entry_expected_time_between_calls(profiler_snapshot_entry_t *entry)
EXPORT const char * profile_store_name(profiler_name_store_t *store, const char *format,...)
EXPORT void profile_reenable_thread(void)
EXPORT void profiler_print_time_between_calls(profiler_snapshot_t *snap)
EXPORT void profiler_print(profiler_snapshot_t *snap)
EXPORT bool profiler_snapshot_dump_csv_gz(const profiler_snapshot_t *snap, const char *filename)
EXPORT uint64_t profiler_snapshot_entry_overall_count(profiler_snapshot_entry_t *entry)
EXPORT void profiler_stop(void)
bool(* profiler_name_filter_func)(void *data, const char *name, bool *remove)
Definition: profiler.h:82
EXPORT uint64_t profiler_snapshot_entry_max_time(profiler_snapshot_entry_t *entry)
#define PRINTFATTR(f, a)
Definition: profiler.h:45
EXPORT void profiler_snapshot_filter_roots(profiler_snapshot_t *snap, profiler_name_filter_func func, void *data)
EXPORT profiler_time_entries_t * profiler_snapshot_entry_times(profiler_snapshot_entry_t *entry)
Definition: profiler.h:59
#define bool
Definition: vc_stdbool.h:5
struct profiler_name_store profiler_name_store_t
Definition: profiler.h:39