Skip to content

Namespace blaze::trace

Namespace List > blaze > trace

Classes

Type Name
class RecordTrace

Public Types

Type Name
typedef nlohmann::json json

Public Functions

Type Name
bool enabled ()
std::string format_active_scopes ()
void memory_counters (const uint64_t total_bytes, const uint64_t las_bytes, const uint64_t grid_bytes)
void progress_end (const uint64_t scope_id, const double proportion)
void progress_scope_set_display (const uint64_t scope_id, const std::string & name, const std::source_location & callee_location)
uint64_t register_progress_scope (const std::source_location & location, const double range_start, const double range_end, const std::string & name, const std::source_location * call_site)
void write_chrome_trace (const fs::path & path)
void write_chrome_trace_if_configured ()

Public Types Documentation

typedef json

using blaze::trace::json = typedef nlohmann::json;

Public Functions Documentation

function enabled

bool blaze::trace::enabled () 

function format_active_scopes

std::string blaze::trace::format_active_scopes () 

function memory_counters

void blaze::trace::memory_counters (
    const uint64_t total_bytes,
    const uint64_t las_bytes,
    const uint64_t grid_bytes
) 

function progress_end

void blaze::trace::progress_end (
    const uint64_t scope_id,
    const double proportion
) 

function progress_scope_set_display

void blaze::trace::progress_scope_set_display (
    const uint64_t scope_id,
    const std::string & name,
    const std::source_location & callee_location
) 

function register_progress_scope

uint64_t blaze::trace::register_progress_scope (
    const std::source_location & location,
    const double range_start,
    const double range_end,
    const std::string & name,
    const std::source_location * call_site
) 

function write_chrome_trace

void blaze::trace::write_chrome_trace (
    const fs::path & path
) 

function write_chrome_trace_if_configured

void blaze::trace::write_chrome_trace_if_configured () 


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/utilities/trace_recorder.cpp