guanaqo 1.0.0-alpha.25
Utilities for scientific software
Loading...
Searching...
No Matches
guanaqo::trace Namespace Reference

Namespaces

namespace  detail

Classes

struct  ScopedLinalgCounters

Functions

void initialize_tracing ()
 Initialize Perfetto for in-process tracing and register guanaqo's track event categories.
std::unique_ptr<::perfetto::TracingSession > start_tracing (uint32_t memory_kb=128 *1024)
 Start a new tracing session with the specified buffer size in KiB.
void abort_tracing (std::unique_ptr<::perfetto::TracingSession > tracing_session)
 Stop the tracing session and discard the trace data.
void stop_tracing (std::unique_ptr<::perfetto::TracingSession > tracing_session, const fs::path &output_path)
 Stop the tracing session and write the trace data to the specified output file.
uint64_t & get_thread_gflop_count ()
 Get a reference to the thread-local GFLOP counter.