Agora
1.2.0
Agora project
|
Go to the documentation of this file.
16 #if defined(ENABLE_CSV_LOG)
40 #if defined(ENABLE_CSV_LOG)
41 static const std::array<std::string, kAllLogs> kCsvName = {
42 "snr",
"rssi",
"noise",
"evm",
"evmsc",
"evmsnr",
"ber",
43 "ser",
"csi",
"calib",
"ulcsi",
"dlcsi",
"dlbeam"};
48 CsvLogger([[maybe_unused]]
size_t log_id, [[maybe_unused]]
Config*
const cfg,
50 [[maybe_unused]]
bool bs_only =
false);
52 #if defined(ENABLE_CSV_LOG)
53 inline void Write(
const std::string& str) {
60 std::shared_ptr<spdlog::logger> logger_;
62 inline void Write(
const std::string& ) {}
67 #endif //CSV_LOGGER_H_
@ kEVM
Definition: csv_logger.h:26
Definition: udp_sink.h:26
Direction
Definition: symbols.h:39
@ kSER
Definition: csv_logger.h:30
@ kCalib
Definition: csv_logger.h:32
Declaration file for the CsvLogger class which records runtime physical-layer performance into csv fi...
Logging macros that can be optimized out by the compiler.
@ kDLCSI
Definition: csv_logger.h:36
std::initializer_list< sink_ptr > sinks_init_list
Definition: common.h:128
@ info
Definition: common.h:215
#define AGORA_LOG_ERROR(...)
Definition: logger.h:39
Definition: csv_logger.h:46
@ kEVMSC
Definition: csv_logger.h:27
filename
Definition: parse_all_dl.m:14
void Write(const std::string &)
Definition: csv_logger.h:62
Definition: csv_logger.cc:19
@ kDlBeam
Definition: csv_logger.h:36
@ kULCSI
Definition: csv_logger.h:36
static constexpr size_t kAllLogs
Definition: csv_logger.h:38
MatLogId
Definition: csv_logger.h:36
@ kBER
Definition: csv_logger.h:29
@ kEVMSNR
Definition: csv_logger.h:28
@ kSNR
Definition: csv_logger.h:23
@ kRSSI
Definition: csv_logger.h:24
@ kCsvLogs
Definition: csv_logger.h:33
@ kMatLogs
Definition: csv_logger.h:36
CsvLogId
Definition: csv_logger.h:22
@ kNOISE
Definition: csv_logger.h:25
std::shared_ptr< spdlog::details::thread_pool > thread_pool()
Definition: async.h:95
Declaration file for the configuration class which importants json configuration values into class va...
CsvLogger([[maybe_unused]] size_t log_id, [[maybe_unused]] Config *const cfg, [[maybe_unused]] Direction dir, [[maybe_unused]] bool bs_only=false)
Definition: csv_logger.cc:21
@ kCSI
Definition: csv_logger.h:31