scc  2022.4.0
SystemC components library
scv_tr Namespace Reference

SystemC Verification Library (SCV) Transaction Recording. More...

Classes

struct  AttrDesc
 
class  SQLiteDB
 
class  scv_extensions< tlm::tlm_command >
 
class  scv_extensions< tlm::tlm_response_status >
 
class  scv_extensions< tlm::tlm_gp_option >
 
class  scv_extensions< tlm::scc::scv::tlm_phase_enum >
 
class  scv_extensions< tlm::tlm_sync_enum >
 
class  scv_extensions< tlm::scc::scv::tlm_gp_data >
 
class  scv_extensions< tlm::tlm_dmi::dmi_access_e >
 
class  scv_extensions< tlm::scc::scv::tlm_dmi_data >
 

Typedefs

using data_type = scv_extensions_if::data_type
 

Enumerations

enum  EventType {
  BEGIN , RECORD , END , BEGIN ,
  RECORD , END , BEGIN , RECORD ,
  END , BEGIN , RECORD , END
}
 
enum  EventType {
  BEGIN , RECORD , END , BEGIN ,
  RECORD , END , BEGIN , RECORD ,
  END , BEGIN , RECORD , END
}
 
enum  EventType {
  BEGIN , RECORD , END , BEGIN ,
  RECORD , END , BEGIN , RECORD ,
  END , BEGIN , RECORD , END
}
 
enum  EventType {
  BEGIN , RECORD , END , BEGIN ,
  RECORD , END , BEGIN , RECORD ,
  END , BEGIN , RECORD , END
}
 

Functions

void scv_tr_binary_init ()
 
void scv_tr_compressed_init ()
 initializes the infrastructure to use a gzip compressed text based transaction recording database More...
 
void scv_tr_sqlite_init ()
 initializes the infrastructure to use a SQLite based transaction recording database
 
void scv_tr_plain_init ()
 initializes the infrastructure to use a plain text based transaction recording database More...
 
void scv_tr_lz4_init ()
 initializes the infrastructure to use a LZ4 compressed text based transaction recording database More...
 
void scv_tr_cbor_init (bool compressed)
 
void scv_tr_mtc_init ()
 initializes the infrastructure to use a compressed text based transaction recording database with a multithreaded writer
 
uint64_t getStringId (std::string const &s)
 
void recordAttribute (uint64_t id, EventType event, const string &name, data_type type, const string &value)
 
void recordAttribute (uint64_t id, EventType event, const string &name, data_type type, long long value)
 
void recordAttribute (uint64_t id, EventType event, const string &name, data_type type, double value)
 

Variables

constexpr auto SQLITEWRAPPER_ERROR = 1000
 
constexpr auto with_transactions = false
 

Detailed Description

SystemC Verification Library (SCV) Transaction Recording.

Function Documentation

◆ scv_tr_compressed_init()

void scv_tr::scv_tr_compressed_init ( )

initializes the infrastructure to use a gzip compressed text based transaction recording database

TODO: add a multithreaded writer

Definition at line 556 of file scv_tr_compressed.cpp.

◆ scv_tr_lz4_init()

void scv_tr::scv_tr_lz4_init ( )

initializes the infrastructure to use a LZ4 compressed text based transaction recording database

TODO: add a multithreaded writer

Definition at line 398 of file scv_tr_lz4.cpp.

◆ scv_tr_plain_init()

void scv_tr::scv_tr_plain_init ( )

initializes the infrastructure to use a plain text based transaction recording database

TODO: add a multithreaded writer

Definition at line 406 of file scv_tr_lz4.cpp.