scc 2025.09
SystemC components library
scc::trace::gz_writer Class Reference

Public Types

using lock_type = std::unique_lock<std::mutex>

Public Member Functions

 gz_writer (std::string const &filename)
void write_single (std::string const &msg)
void write (std::string const &msg)
void write (char const *msg, size_t size)

Public Attributes

std::mutex writer_mtx

Static Public Attributes

static const size_t buffer_size = 512

Detailed Description

Definition at line 24 of file gz_writer.hh.

Member Typedef Documentation

◆ lock_type

using scc::trace::gz_writer::lock_type = std::unique_lock<std::mutex>

Definition at line 68 of file gz_writer.hh.

Constructor & Destructor Documentation

◆ gz_writer()

scc::trace::gz_writer::gz_writer ( std::string const & filename)
inline

Definition at line 70 of file gz_writer.hh.

◆ ~gz_writer()

scc::trace::gz_writer::~gz_writer ( )
inline

Definition at line 76 of file gz_writer.hh.

Member Function Documentation

◆ write() [1/2]

void scc::trace::gz_writer::write ( char const * msg,
size_t size )
inline

Definition at line 107 of file gz_writer.hh.

◆ write() [2/2]

void scc::trace::gz_writer::write ( std::string const & msg)
inline

Definition at line 99 of file gz_writer.hh.

◆ write_single()

void scc::trace::gz_writer::write_single ( std::string const & msg)
inline

Definition at line 90 of file gz_writer.hh.

Member Data Documentation

◆ buffer_size

const size_t scc::trace::gz_writer::buffer_size = 512
static

Definition at line 69 of file gz_writer.hh.

◆ writer_mtx

std::mutex scc::trace::gz_writer::writer_mtx

Definition at line 67 of file gz_writer.hh.


The documentation for this class was generated from the following file:
  • /home/eyck/Projects/MINRES/SystemC-Components/src/sysc/scc/trace/gz_writer.hh