Agora
1.2.0
Agora project
|
Go to the documentation of this file.
11 #include "common_typedef_sdk.h"
27 Stats* stats_manager);
Definition: phy_stats.h:15
DurationStat * duration_stat_csi_
Definition: dofft.h:111
uint32_t frame_id_
Definition: message.h:168
Definition: test_transpose.cc:22
size_t SampsPerSymbol() const
Definition: config.h:234
auto printf(const S &fmt, const T &... args) -> int
Definition: printf.h:631
DFTI_DESCRIPTOR_HANDLE mkl_handle_
Definition: dofft.h:102
size_t NumChannels() const
Definition: config.h:98
complex_float * fft_shift_tmp_
Definition: dofft.h:104
static constexpr bool kUse12BitIQ
Definition: symbols.h:178
static std::vector< float > Abs2Avx(std::vector< std::complex< float >> const &f)
Definition: comms-lib-avx.cc:364
std::array< size_t, kMaxStatBreakdown > task_duration_
Definition: stats.h:23
static void SimdConvertFloat16ToFloat32(float *out_buf, const float *in_buf, size_t n_elems)
Definition: datatype_conversion.h:547
size_t OfdmRxZeroPrefixBs() const
Definition: config.h:215
static constexpr size_t kFrameWnd
Definition: symbols.h:18
Table< complex_float > & calib_dl_buffer_
Definition: dofft.h:100
void * PaddedAlignedAlloc(Alignment_t alignment, size_t size)
Definition: memory_manage.cc:15
short data_[]
Definition: message.h:173
EventData Launch(size_t tag) override
Definition: dofft.cc:89
rx_tag_t fft_req_tag_t
Definition: message.h:241
size_t OfdmRxZeroPrefixCalUl() const
Definition: config.h:219
size_t BsAntNum() const
Definition: config.h:35
uint32_t ant_id_
Definition: message.h:171
static constexpr size_t kTransposeBlockSize
Definition: symbols.h:340
size_t RefRadio(size_t id) const
Definition: config.h:101
const FrameStats & Frame() const
Definition: config.h:340
#define AGORA_LOG_TRACE(...)
Definition: logger.h:92
complex_float * GetDataBuf(Table< complex_float > &data_buffers, size_t frame_id, size_t symbol_id) const
Definition: config.h:471
static constexpr size_t kSCsPerCacheline
Definition: symbols.h:312
static double mean(const std::vector< double > in_vec)
Definition: timer.h:103
int tid_
Definition: doer.h:65
complex_float * fft_inout_
Definition: dofft.h:103
size_t OfdmRxZeroPrefixCalDl() const
Definition: config.h:225
static constexpr bool kUsePartialTrans
Definition: symbols.h:183
const std::vector< std::complex< float > > & PilotCf32() const
Definition: config.h:341
const complex_float * PilotsSgn() const
Definition: config.h:352
constexpr std::chrono::duration< Rep, Period > abs(std::chrono::duration< Rep, Period > d)
Definition: chrono.h:1488
size_t OfdmDataNum() const
Definition: config.h:47
static constexpr bool kDebugPrintInTask
Definition: symbols.h:201
uint16_t * temp_16bits_iq_
Definition: dofft.h:107
static void SimdConvertShortToFloat(const short *in_buf, float *out_buf, size_t n_elems)
Definition: datatype_conversion.h:126
Declaration file for the Stats class. Includes definations for DurationStat and FrameSummery types.
Definition: message.h:142
PhyStats * phy_stats_
Definition: dofft.h:112
size_t task_count_
Definition: stats.h:24
bool FftInRru() const
Definition: config.h:311
std::complex< float > * rx_samps_tmp_
Definition: dofft.h:108
Declaration file for the DoFFT class.
uint32_t cell_id_
Definition: message.h:170
void UpdateCalibPilotSnr(size_t frame_id, size_t calib_sym_id, size_t ant_id, complex_float *fft_data)
Definition: phy_stats.cc:438
Self defined functions for message storage and passing.
for i
Definition: generate_data.m:107
size_t OfdmCaNum() const
Definition: config.h:45
void UpdateUlPilotSnr(size_t frame_id, size_t ue_id, size_t ant_id, complex_float *fft_data)
Definition: phy_stats.cc:456
Communications Library: a) Generate pilot/preamble sequences b) OFDM modulation.
Definition: message.h:164
uint32_t symbol_id_
Definition: message.h:169
size_t tag_
Definition: message.h:43
auto arg(const Char *name, const T &arg) -> detail::named_arg< Char, T >
Definition: core.h:1887
static constexpr bool kPrintFFTInput
Definition: dofft.cc:12
PtrGrid< kFrameWnd, kMaxUEs, complex_float > & csi_buffers_
Definition: dofft.h:99
static void SimdConvert12bitIqToFloat(const uint8_t *in_buf, float *out_buf, const uint16_t *in_16bits_buf, size_t n_elems)
Definition: datatype_conversion.h:405
size_t OfdmDataStart() const
Definition: config.h:48
Table< complex_float > & calib_ul_buffer_
Definition: dofft.h:101
Packet * RawPacket()
Definition: message.h:213
static constexpr bool kPrintInputPilot
Definition: dofft.cc:13
Config * cfg_
Definition: doer.h:64
x0
Definition: ofdmtxrx.py:399
size_t GetPilotSymbolIdx(size_t symbol_number) const
Definition: framestats.cc:160
SymbolType GetSymbolType(size_t symbol_id) const
Return the symbol type of this symbol in this frame.
Definition: config.cc:1557
size_t RecipCalUlRxIndex(size_t frame_id, size_t ant) const
Definition: config.h:145
static void CalibRegressionEstimate(const arma::cx_fvec &in_vec, arma::cx_fvec &out_vec, size_t x0)
Definition: dofft.cc:60
static size_t WorkerRdtsc()
Definition: gettime.h:34
static constexpr bool kPrintPilotCorrStats
Definition: dofft.cc:14
Declaration file for the Doer class. The is the base class for all agora doers.
size_t RefAnt(size_t id) const
Definition: config.h:100
Table< complex_float > & data_buffer_
Definition: dofft.h:98
static void RtAssert(bool condition, const char *throw_str)
Definition: utils.h:104
DoFFT(Config *config, size_t tid, Table< complex_float > &data_buffer, PtrGrid< kFrameWnd, kMaxUEs, complex_float > &csi_buffers, Table< complex_float > &calib_dl_buffer, Table< complex_float > &calib_ul_buffer, PhyStats *in_phy_stats, Stats *stats_manager)
Definition: dofft.cc:16
static constexpr bool kCollectPhyStats
Definition: symbols.h:192
static gen_tag_t FrmSym(size_t frame_id, size_t symbol_id)
Definition: message.h:128
std::string to_string() const
Definition: eth_common.h:64
Declaration file for the configuration class which importants json configuration values into class va...
SymbolType
Definition: symbols.h:261
~DoFFT() override
Definition: dofft.cc:48
size_t RecipCalDlAnt(size_t frame_id, size_t dl_cal_symbol) const
Definition: config.h:119
static __m256 M256ComplexCf32Mult(__m256 data1, __m256 data2, bool conj)
Definition: comms-lib-avx.cc:196
Declaration file for the PhyStats class.
void PartialTranspose(complex_float *out_buf, size_t ant_id, SymbolType symbol_type) const
Definition: dofft.cc:269
DurationStat * duration_stat_fft_
Definition: dofft.h:110
void Free()
Definition: message.h:216
static std::vector< std::complex< float > > CorrelateAvx(std::vector< std::complex< float >> const &f, std::vector< std::complex< float >> const &g)
Definition: comms-lib-avx.cc:463
DurationStat * GetDurationStat(DoerType doer_type, size_t thread_id)
Definition: stats.h:162
RxPacket * rx_packet_
Definition: message.h:228