Skip to main content

profile_session

family

Declared in clika_rt/clika_rt_core.h.

Members

NameDescription
clika_rt_profile_session
profile_session_chrome_trace_jsonClikaRT::ProfileSession::chrome_trace_json <- ClikaRT/profiler/profiler.h borrows self sized-string protocol (contract §5); the status reports BUFFER_TOO_SMALL only
profile_session_free
profile_session_newan empty profiling session; while a capture is alive, ops on the capturing thread (and the streams it drives) are timed automatically
profile_session_perfetto_traceClikaRT::ProfileSession::perfetto_trace <- ClikaRT/profiler/profiler.h borrows self sized BYTES two-call protocol: a binary payload (not text, no terminator); len carries capacity in, the exact byte count out; the status reports BUFFER_TOO_SMALL only
profile_session_saveClikaRT::ProfileSession::save <- ClikaRT/profiler/profiler.h borrows self
profile_session_save_chrome_traceClikaRT::ProfileSession::save_chrome_trace <- ClikaRT/profiler/profiler.h borrows self
profile_session_save_memory_statsClikaRT::ProfileSession::save_memory_stats <- ClikaRT/profiler/profiler.h borrows self
profile_session_save_report_jsonClikaRT::ProfileSession::save_report_json <- ClikaRT/profiler/profiler.h borrows self
profile_session_start_captureClikaRT::ProfileSession::start_capture <- ClikaRT/profiler/profiler.h borrows self a rejected argument yields the zero result (infallible surface) infallible; single-owner handle: capture_scope_free frees it (NULL is a no-op) C++ defaults (dropped at this surface): tag=""
profile_session_summary_textClikaRT::ProfileSession::summary_text <- ClikaRT/profiler/profiler.h borrows self sized-string protocol (contract §5); the status reports BUFFER_TOO_SMALL only

Type aliases

using clika_rt_profile_session

using clika_rt_profile_session = struct clika_rt_profile_session

Declared in clika_rt/clika_rt_core.h, line 314

Functions

profile_session_chrome_trace_json

clika_rt_status(* profile_session_chrome_trace_json)(clika_rt_profile_session *self, char *buf, size_t *len)

ClikaRT::ProfileSession::chrome_trace_json <- ClikaRT/profiler/profiler.h borrows self sized-string protocol (contract §5); the status reports BUFFER_TOO_SMALL only

Declared in clika_rt/clika_rt_core.h, line 9164

profile_session_free

void(* profile_session_free)(clika_rt_profile_session *h)

Declared in clika_rt/clika_rt_core.h, line 656

profile_session_new

clika_rt_error*(* profile_session_new)(clika_rt_profile_session **out)

an empty profiling session; while a capture is alive, ops on the capturing thread (and the streams it drives) are timed automatically

Declared in clika_rt/clika_rt_core.h, line 783

profile_session_perfetto_trace

clika_rt_status(* profile_session_perfetto_trace)(clika_rt_profile_session *self, uint8_t *buf, size_t *len)

ClikaRT::ProfileSession::perfetto_trace <- ClikaRT/profiler/profiler.h borrows self sized BYTES two-call protocol: a binary payload (not text, no terminator); len carries capacity in, the exact byte count out; the status reports BUFFER_TOO_SMALL only

Declared in clika_rt/clika_rt_core.h, line 9178

profile_session_save

clika_rt_error*(* profile_session_save)(clika_rt_profile_session *self, const char *dir, size_t dir_len)

ClikaRT::ProfileSession::save <- ClikaRT/profiler/profiler.h borrows self

Declared in clika_rt/clika_rt_core.h, line 9139

profile_session_save_chrome_trace

clika_rt_error*(* profile_session_save_chrome_trace)(clika_rt_profile_session *self, const char *path, size_t path_len)

ClikaRT::ProfileSession::save_chrome_trace <- ClikaRT/profiler/profiler.h borrows self

Declared in clika_rt/clika_rt_core.h, line 9145

profile_session_save_memory_stats

clika_rt_error*(* profile_session_save_memory_stats)(clika_rt_profile_session *self, const char *path, size_t path_len)

ClikaRT::ProfileSession::save_memory_stats <- ClikaRT/profiler/profiler.h borrows self

Declared in clika_rt/clika_rt_core.h, line 9157

profile_session_save_report_json

clika_rt_error*(* profile_session_save_report_json)(clika_rt_profile_session *self, const char *path, size_t path_len)

ClikaRT::ProfileSession::save_report_json <- ClikaRT/profiler/profiler.h borrows self

Declared in clika_rt/clika_rt_core.h, line 9151

profile_session_start_capture

clika_rt_capture_scope*(* profile_session_start_capture)(clika_rt_profile_session *self, const char *tag, size_t tag_len)

ClikaRT::ProfileSession::start_capture <- ClikaRT/profiler/profiler.h borrows self a rejected argument yields the zero result (infallible surface) infallible; single-owner handle: capture_scope_free frees it (NULL is a no-op) C++ defaults (dropped at this surface): tag=""

Declared in clika_rt/clika_rt_core.h, line 9133

profile_session_summary_text

clika_rt_status(* profile_session_summary_text)(clika_rt_profile_session *self, char *buf, size_t *len)

ClikaRT::ProfileSession::summary_text <- ClikaRT/profiler/profiler.h borrows self sized-string protocol (contract §5); the status reports BUFFER_TOO_SMALL only

Declared in clika_rt/clika_rt_core.h, line 9171