develop/projects/rocprofiler-systems/source/lib/rocprof-sys-causal-api/rocprofiler-systems/causal_api.h Source File#
causal_api.h
Go to the documentation of this file.
A struct containing annotation data to be included in the perfetto trace.
Definition: annotation.h:101
struct rocprofsys_causal_callbacks rocprofsys_causal_callbacks_t
rocprofsys_causal_annotated_func_t annotated_progress
Definition: causal_api.h:56
int rocprofsys_causal_end(const char *)
Ends the latency progress point for the matching label.
int rocprofsys_causal_progress(const char *)
Adds a throughput progress point with the given label.
void rocprofsys_causal_register_callbacks(rocprofsys_causal_callbacks_t)
Registers the callbacks invoked by the functions above. Called by librocprof-sys-dl once it dlopen's ...
int rocprofsys_causal_begin(const char *)
Starts a latency progress point (region of interest) with the given label.
rocprofsys_causal_region_func_t progress
Definition: causal_api.h:55
int rocprofsys_causal_annotated_progress(const char *, rocprofsys_annotation_t *, unsigned long)
Adds a throughput progress point with the given label and annotations.
int(* rocprofsys_causal_region_func_t)(const char *)
Definition: causal_api.h:40
int(* rocprofsys_causal_annotated_func_t)(const char *, rocprofsys_annotation_t *, unsigned long)
Definition: causal_api.h:42
Callbacks invoked by the causal API functions below. Registered by librocprof-sys-dl when it is prelo...
Definition: causal_api.h:52