Agora
1.2.0
Agora project
|
Go to the documentation of this file.
11 #define EXPORT __attribute__((visibility("default")))
13 #define STRINGIFY(x) #x
14 #define TOSTRING(x) STRINGIFY(x)
20 #define TX_FRAME_DELTA (4)
21 #define SETTLE_TIME_MS (1)
25 #if __INTEL_MKL__ >= 2020 || (__INTEL_MKL__ == 2019 && __INTEL_MKL_UPDATE__ > 3)
26 #define USE_MKL_JIT (1)
31 #define ENABLE_RB_IND (0)
36 return x && ((
x &
T(
x - 1)) == 0);
79 static constexpr std::array<DoerType, (static_cast<size_t>(
DoerType::kRC) + 1)>
85 static const std::map<DoerType, std::string>
kDoerNames = {
140 #define BIGSTATION (0)
141 #if defined(USE_DPDK)
142 static constexpr
bool kUseDPDK =
true;
147 #if defined(ENABLE_MAC)
153 #if defined(USE_ARGOS)
160 static constexpr
bool kUseUHD =
true;
165 #if defined(ENABLE_CSV_LOG)
171 #if defined(ENABLE_MAT_LOG)
230 switch (thread_type) {
236 return "Worker (FFT)";
238 return "Worker (Beamweights)";
240 return "Worker (Demul)";
242 return "Worker (Decode)";
252 return "Master (RX)";
254 return "Master (TX)";
256 return "Recorder Worker";
258 return "Invalid thread type";
347 #ifdef USE_AVX2_ENCODER
356 #if defined(ENABLE_HDF5)
static constexpr bool kDebugMulticell
Definition: symbols.h:202
static constexpr bool kStatsPrintFrameSummary
Definition: symbols.h:195
static constexpr bool kDebug12BitIQ
Definition: symbols.h:179
static constexpr char kMacRemoteHostname[]
Definition: symbols.h:324
static constexpr size_t kMacUserLocalPort
Definition: symbols.h:320
@ kDownlinkComplete
Definition: symbols.h:119
static constexpr bool kOutputUlScData
Definition: symbols.h:359
static constexpr bool kDebugSenderReceiver
Definition: symbols.h:354
static constexpr bool kEnableMatLog
Definition: symbols.h:174
PrintType
Definition: symbols.h:96
static constexpr size_t kScheduleQueues
Definition: symbols.h:129
static constexpr bool kDownlinkHardDemod
Definition: symbols.h:187
static constexpr size_t kMacBaseRemotePort
Definition: symbols.h:328
static constexpr bool kUse12BitIQ
Definition: symbols.h:178
static constexpr bool kDebugPrintStatsPerThread
Definition: symbols.h:200
Direction
Definition: symbols.h:39
static constexpr size_t kFrameWnd
Definition: symbols.h:18
static std::string ThreadTypeStr(ThreadType thread_type)
Definition: symbols.h:229
EventType
Definition: symbols.h:42
static constexpr bool kExportConstellation
Definition: symbols.h:190
@ kNone
Definition: symbols.h:117
static constexpr bool kEnableThreadPinning
Definition: symbols.h:137
static constexpr bool kPrintBeamStats
Definition: symbols.h:193
static constexpr bool kRecordCalibrationMats
Definition: symbols.h:203
static constexpr size_t kTransposeBlockSize
Definition: symbols.h:340
static constexpr size_t kMacBaseLocalPort
Definition: symbols.h:332
ThreadType
Definition: symbols.h:213
static constexpr size_t kCalibScGroupSize
Definition: symbols.h:344
static constexpr size_t kSCsPerCacheline
Definition: symbols.h:312
static constexpr bool kDebugPrintPilot
Print the I/Q samples in the pilots.
Definition: symbols.h:206
static constexpr bool kUsePartialTrans
Definition: symbols.h:183
static constexpr bool IsPowerOfTwo(T x)
Return true at compile time iff a constant is a power of two.
Definition: symbols.h:35
static constexpr size_t kDequeueBulkSizeTXRX
Definition: symbols.h:131
static constexpr size_t kOutputFrameNum
Definition: symbols.h:363
static constexpr bool kDebugPrintInTask
Definition: symbols.h:201
static constexpr bool kDebugDownlink
Definition: symbols.h:180
static const std::map< DoerType, std::string > kDoerNames
Definition: symbols.h:85
static const std::map< char, SymbolType > kSymbolMap
Definition: symbols.h:271
static constexpr bool kPrintPhyStats
Definition: symbols.h:191
static constexpr size_t kNumEventTypes
Definition: symbols.h:63
static constexpr bool kEnableMac
Definition: symbols.h:150
static constexpr bool kEnableCsvLog
Definition: symbols.h:168
@ kProcessingComplete
Definition: symbols.h:120
static constexpr bool kUseUHD
Definition: symbols.h:162
static constexpr bool kUseAVX2Encoder
Definition: symbols.h:350
static constexpr bool kUseArgos
Definition: symbols.h:156
static constexpr size_t kDefaultMessageQueueSize
Definition: symbols.h:125
static constexpr size_t kMaxStatsBreakdown
Definition: symbols.h:306
static constexpr size_t kNumStatsFrames
Definition: symbols.h:300
static constexpr size_t kMaxChannels
Definition: symbols.h:292
static constexpr bool kDebugPrintPerFrameStart
Definition: symbols.h:197
static constexpr bool kUplinkHardDemod
Definition: symbols.h:188
static constexpr size_t kMaxDataSCs
Definition: symbols.h:283
static constexpr bool kDebugUplink
Definition: symbols.h:181
static constexpr bool kIsWorkerTimingEnabled
Definition: symbols.h:303
static constexpr bool kDebugTxData
Definition: symbols.h:365
static constexpr size_t kMaxModType
Definition: symbols.h:297
static constexpr bool kUseDPDK
Definition: symbols.h:144
static constexpr size_t kDequeueBulkSizeWorker
Definition: symbols.h:132
SubcarrierType
Definition: symbols.h:277
static constexpr size_t kMaxThreads
Definition: symbols.h:309
static constexpr size_t kOfdmSymbolPerSlot
Definition: symbols.h:362
static constexpr bool kLogMacPackets
Definition: symbols.h:211
static constexpr bool kDebugPrintPerSymbolDone
Definition: symbols.h:198
static constexpr bool kDebugRadioRX
Definition: symbols.h:209
static constexpr bool kCollectPhyStats
Definition: symbols.h:192
static constexpr size_t kNumDoerTypes
Definition: symbols.h:83
SymbolType
Definition: symbols.h:261
ScheduleProcessingFlags
Definition: symbols.h:116
static constexpr size_t kMaxUEs
Definition: symbols.h:289
static constexpr size_t kDefaultWorkerQueueSize
Definition: symbols.h:126
static constexpr size_t kMacUserRemotePort
Definition: symbols.h:316
static constexpr size_t kMaxSymbols
Definition: symbols.h:280
static constexpr size_t kMaxAntennas
Definition: symbols.h:286
static constexpr bool kDebugRadioTX
Definition: symbols.h:208
static constexpr bool kEnableCoreReuse
Definition: symbols.h:138
static constexpr bool kDebugPrintPerFrameDone
Definition: symbols.h:196
@ kUplinkComplete
Definition: symbols.h:118
DoerType
Definition: symbols.h:67
static constexpr size_t kMacBaseClientPort
Definition: symbols.h:337
static constexpr bool kDebugPrintPerTaskDone
Definition: symbols.h:199
static constexpr std::array< DoerType,(static_cast< size_t >DoerType::kRC)+1)> kAllDoerTypes
Definition: symbols.h:80