Add utils, stats and context declarations
This commit is contained in:
parent
5083823b20
commit
7b6ef3e2b0
|
@ -174,6 +174,21 @@ void rvprof_stats_add_caller_to_function(int func_id, const char* caller);
|
|||
// output
|
||||
rvprof_error_t rvprof_output_generate_report(void);
|
||||
|
||||
// utilities
|
||||
char* rvprof_utils_get_program_name(void);
|
||||
char* rvprof_utils_generate_output_filename(void);
|
||||
int rvprof_utils_is_main_function(const char* func_name);
|
||||
|
||||
// function stats
|
||||
int rvprof_stats_find_or_create_function(const char* name, const char* caller);
|
||||
int rvprof_stats_get_or_create_stack_id(void);
|
||||
void rvprof_stats_add_stack_id_to_function(int func_id, int stack_id);
|
||||
void rvprof_stats_add_caller_to_function(int func_id, const char* caller);
|
||||
|
||||
// global context
|
||||
void rvprof_context_cleanup(void);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue