Agora
1.2.0
Agora project
|
Go to the documentation of this file.
6 #ifndef DODECODE_CLIENT_H_
7 #define DODECODE_CLIENT_H_
21 Config* in_config,
int in_tid,
38 #endif // DODECODE_CLIENT_H_
Definition: phy_stats.h:15
size_t GetDLSymbolIdx(size_t symbol_number) const
Definition: framestats.cc:152
EventData Launch(size_t tag) override
Definition: dodecode_client.cc:35
void IncrementDecodedBlocks(size_t ue_id, size_t offset, size_t frame_slot)
Definition: phy_stats.cc:570
int16_t MaxDecoderIter() const
Definition: ldpc_config.h:48
static constexpr size_t kVarNodesSize
Definition: dodecode_client.cc:16
bool EarlyTermination() const
Definition: ldpc_config.h:49
void UpdateBlockErrors(size_t ue_id, size_t offset, size_t frame_slot, size_t block_error_count)
Definition: phy_stats.cc:563
Definition: dodecode_client.h:18
uint16_t symbol_id_
Definition: message.h:33
std::array< size_t, kMaxStatBreakdown > task_duration_
Definition: stats.h:23
int8_t * GetInfoBits(Table< int8_t > &info_bits, Direction dir, size_t symbol_id, size_t ue_id, size_t cb_id) const
Get info bits for this symbol, user and code block ID.
Definition: config.h:514
static constexpr size_t kFrameWnd
Definition: symbols.h:18
void * PaddedAlignedAlloc(Alignment_t alignment, size_t size)
Definition: memory_manage.cc:15
size_t NumRows() const
Definition: ldpc_config.h:52
DoDecodeClient(Config *in_config, int in_tid, PtrCube< kFrameWnd, kMaxSymbols, kMaxUEs, int8_t > &demod_buffers, PtrCube< kFrameWnd, kMaxSymbols, kMaxUEs, int8_t > &decoded_buffers, PhyStats *in_phy_stats, Stats *in_stats_manager)
Definition: dodecode_client.cc:18
DurationStat * duration_stat_
Definition: dodecode_client.h:34
~DoDecodeClient() override
Definition: dodecode_client.cc:33
const FrameStats & Frame() const
Definition: config.h:340
static double CyclesToUs(size_t cycles, double freq_ghz)
Definition: gettime.h:97
void UpdateBitErrors(size_t ue_id, size_t offset, size_t frame_slot, uint8_t tx_byte, uint8_t rx_byte)
Definition: phy_stats.cc:542
int tid_
Definition: doer.h:65
static constexpr bool kDebugPrintInTask
Definition: symbols.h:201
Declaration file for the Stats class. Includes definations for DurationStat and FrameSummery types.
static constexpr bool kDebugDownlink
Definition: symbols.h:180
void UpdateDecodedBits(size_t ue_id, size_t offset, size_t frame_slot, size_t new_bits_num)
Definition: phy_stats.cc:557
Definition: message.h:142
PhyStats * phy_stats_
Definition: dodecode_client.h:33
size_t task_count_
Definition: stats.h:24
static constexpr bool kPrintPhyStats
Definition: symbols.h:191
static constexpr bool kEnableMac
Definition: symbols.h:150
Self defined functions for message storage and passing.
Scramble Class and helper functions.
for i
Definition: generate_data.m:107
PtrCube< kFrameWnd, kMaxSymbols, kMaxUEs, int8_t > & demod_buffers_
Definition: dodecode_client.h:31
size_t NumBytesPerCb(Direction dir) const
Definition: config.h:251
static constexpr bool kPrintDecodedData
Definition: dodecode_client.cc:14
std::unique_ptr< T > make_unique(Args &&... args)
Definition: common.h:334
Definition: ldpc_config.h:14
const LDPCconfig & LdpcConfig(Direction dir) const
Definition: config.h:280
size_t ClientDlPilotSymbols() const
Definition: framestats.h:76
double FreqGhz() const
Definition: config.h:56
Config * cfg_
Definition: doer.h:64
static size_t WorkerRdtsc()
Definition: gettime.h:34
uint16_t ExpansionFactor() const
Definition: ldpc_config.h:47
Table< int8_t > & DlBits()
Definition: config.h:384
#define AGORA_LOG_INFO(...)
Definition: logger.h:62
Declaration file for the Doer class. The is the base class for all agora doers.
Definition: json.hpp:5213
std::unique_ptr< AgoraScrambler::Scrambler > scrambler_
Definition: dodecode_client.h:35
Declaration file for the DoDecode class.
bool ScrambleEnabled() const
Definition: config.h:296
uint32_t NumCbLen() const
Definition: ldpc_config.h:50
size_t GetTotalDataSymbolIdxDl(size_t frame_id, size_t symbol_idx_dl) const
Definition: config.h:428
Definition: scrambler.cc:12
uint16_t BaseGraph() const
Definition: ldpc_config.h:46
Declaration file for the configuration class which importants json configuration values into class va...
PtrCube< kFrameWnd, kMaxSymbols, kMaxUEs, int8_t > & decoded_buffers_
Definition: dodecode_client.h:32
Declaration file for the PhyStats class.
uint32_t frame_id_
Definition: message.h:32
size_t ModOrderBits(Direction dir) const
Definition: config.h:247
void NumBlocksInSymbol(size_t num_blocks)
Definition: ldpc_config.h:41
uint32_t NumCbCodewLen() const
Definition: ldpc_config.h:51
static constexpr bool kPrintLLRData
Definition: dodecode_client.cc:13
int16_t * resp_var_nodes_
Definition: dodecode_client.h:30
uint16_t cb_id_
Definition: message.h:36
DurationStat * GetDurationStat(DoerType doer_type, size_t thread_id)
Definition: stats.h:162