guanaqo 1.0.0-alpha.26
Utilities for scientific software
Loading...
Searching...
No Matches

Detailed Description

Core tracing utilities and macros (ITT, Perfetto or fallback logger).

Collaboration diagram for Tracing:

Topics

 Perfetto Tracing
 Perfetto track events, tracing sessions, and FLOP counting.
 Performance Counters
 CPU performance counters (PCM) integration and scoped collectors.

Files

file  trace.hpp
 Tracing logger and macros (ITT, Perfetto, or fallback).

Classes

struct  guanaqo::TraceLogger
 Class for recording trace logs, used when ITT or Perfetto tracing is not enabled. More...

Functions

TraceLoggerguanaqo::get_trace_logger ()
 Get a reference to the global trace logger instance.

Function Documentation

◆ get_trace_logger()

TraceLogger & guanaqo::get_trace_logger ( )

#include <guanaqo/trace.hpp>

Get a reference to the global trace logger instance.

Note
Tracing is thread-safe, but for performance reasons, it may be desirable to use a separate logger for each thread.

Definition at line 5 of file trace.cpp.