Agora
1.2.0
Agora project
|
Go to the documentation of this file.
6 #ifndef AGORA_WORKER_H_
7 #define AGORA_WORKER_H_
43 #endif // AGORA_WORKER_H_
Config *const config_
Definition: agora_worker.h:33
Definition: phy_stats.h:15
void Running(bool value)
Definition: config.h:33
Stats * stats_
Definition: agora_worker.h:36
Table< complex_float > & GetEqual()
Definition: agora_buffer.h:44
void PinToCoreWithOffset(ThreadType thread_type, size_t core_offset, size_t thread_id, bool allow_reuse, bool verbose)
Definition: utils.cc:157
Defination file for the AgoraBuffer class.
Table< complex_float > & GetCalibDlMsum()
Definition: agora_buffer.h:52
AgoraBuffer * buffer_
Definition: agora_worker.h:39
Declaration file for the DoIFFT class.
void WorkerThread(int tid)
Definition: agora_worker.cc:49
static constexpr size_t kFrameWnd
Definition: symbols.h:18
moodycamel::ProducerToken * GetWorkerPtok(size_t qid, size_t worker_id)
Definition: agora_buffer.h:120
Declaration file for the CsvLogger class which records runtime physical-layer performance into csv fi...
PhyStats * phy_stats_
Definition: agora_worker.h:37
PtrCube< kFrameWnd, kMaxSymbols, kMaxUEs, int8_t > & GetDecod()
Definition: agora_buffer.h:40
moodycamel::ConcurrentQueue< EventData > * GetConq(EventType event_type, size_t qid)
Definition: agora_buffer.h:109
PtrGrid< kFrameWnd, kMaxDataSCs, complex_float > & GetUlBeamMatrix()
Definition: agora_buffer.h:31
Table< complex_float > & GetIfft()
Definition: agora_buffer.h:48
std::vector< std::thread > workers_
Definition: agora_worker.h:34
void CreateThreads()
Definition: agora_worker.cc:41
const FrameStats & Frame() const
Definition: config.h:340
PtrCube< kFrameWnd, kMaxSymbols, kMaxUEs, int8_t > & GetDemod()
Definition: agora_buffer.h:37
Table< int8_t > & GetDlModBits()
Definition: agora_buffer.h:55
Definition: agora_worker.h:20
Declaration file for the MatLogger class which records runtime zero-forcing matrices into csv files....
Declaration file for the DoPrecode class.
Declaration file for the Stats class. Includes definations for DurationStat and FrameSummery types.
Table< int8_t > & GetDlBits()
Definition: agora_buffer.h:56
FrameInfo * frame_
Definition: agora_worker.h:40
static constexpr bool kEnableMac
Definition: symbols.h:150
Declaration file for the DoFFT class.
Declaration file for the Docoding class. Includes the DoEncode and DoDecode classes.
Table< complex_float > & GetFft()
Definition: agora_buffer.h:43
Declaration file for the DoDemul class.
for i
Definition: generate_data.m:107
moodycamel::ConcurrentQueue< EventData > & GetCompQueue(size_t qid)
Definition: agora_buffer.h:116
AgoraWorker(Config *cfg, Stats *stats, PhyStats *phy_stats, MessageInfo *message, AgoraBuffer *buffer, FrameInfo *frame)
Definition: agora_worker.cc:19
Definition: agora_buffer.h:172
Table< complex_float > & GetUeSpecPilot()
Definition: agora_buffer.h:45
Declaration file for the DoDecode class.
~AgoraWorker()
Definition: agora_worker.cc:32
size_t NumDLSyms() const
Definition: framestats.cc:83
Table< complex_float > & GetCalibUlMsum()
Definition: agora_buffer.h:49
size_t WorkerThreadNum() const
Definition: config.h:181
size_t NumULSyms() const
Definition: framestats.cc:85
#define AGORA_LOG_SYMBOL(...)
Definition: logger.h:82
Table< int8_t > & DlBits()
Definition: config.h:384
Table< complex_float > & GetCalibDl()
Definition: agora_buffer.h:63
MessageInfo * message_
Definition: agora_worker.h:38
PtrGrid< kFrameWnd, kMaxDataSCs, complex_float > & GetDlBeamMatrix()
Definition: agora_buffer.h:34
Declaration file for the DoBeamWeights class. Zero forcing for one subcarrier.
PtrGrid< kFrameWnd, kMaxUEs, complex_float > & GetCsi()
Definition: agora_buffer.h:28
Definition: agora_buffer.h:20
Declaration file for the configuration class which importants json configuration values into class va...
size_t cur_sche_frame_id_
Definition: agora_buffer.h:173
Declaration file for the main Agora worker class.
const size_t base_worker_core_offset_
Definition: agora_worker.h:31
Definition: agora_buffer.h:100
Declaration file for the PhyStats class.
char * GetDlSocket()
Definition: agora_buffer.h:61
Table< complex_float > & GetCalibUl()
Definition: agora_buffer.h:62
size_t cur_proc_frame_id_
Definition: agora_buffer.h:174