Celeritas 0.6.0-rc.2.13+develop.285b9112
Loading...
Searching...
No Matches
Functions
TracingSession.perfetto.cc File Reference

RAII class for managing a perfetto session and its resources. More...

#include "TracingSession.hh"
#include <fcntl.h>
#include <perfetto.h>
#include "Environment.hh"
#include "ScopedProfiling.hh"
#include "detail/TrackEvent.perfetto.hh"

Functions

 PERFETTO_TRACK_EVENT_STATIC_STORAGE ()
 
void celeritas::flush_tracing () noexcept
 Perform the same action a TracingSession::flush, however, it does not require a session instance.
 

Detailed Description

RAII class for managing a perfetto session and its resources.

Function Documentation

◆ flush_tracing()

void celeritas::flush_tracing ( )
inlinenoexcept

Perform the same action a TracingSession::flush, however, it does not require a session instance.

This is useful in geant4 applications, where workers do not have access to the session instance.