#include <simulator.h>
◆ Simulator()
Simulator::Simulator |
( |
Config * |
cfg, |
|
|
size_t |
task_thread_num, |
|
|
size_t |
core_offset, |
|
|
size_t |
sender_delay |
|
) |
| |
◆ ~Simulator()
Simulator::~Simulator |
( |
| ) |
|
◆ FreeBuffers()
void Simulator::FreeBuffers |
( |
| ) |
|
|
private |
◆ FreeQueues()
void Simulator::FreeQueues |
( |
| ) |
|
|
private |
◆ InitializeBuffers()
void Simulator::InitializeBuffers |
( |
| ) |
|
|
private |
◆ InitializeQueues()
void Simulator::InitializeQueues |
( |
| ) |
|
|
private |
◆ PrintPerFrameDone()
void Simulator::PrintPerFrameDone |
( |
PrintType |
print_type, |
|
|
size_t |
frame_id |
|
) |
| |
◆ Start()
void Simulator::Start |
( |
| ) |
|
◆ Stop()
◆ UpdateFrameCount()
void Simulator::UpdateFrameCount |
( |
int * |
frame_count | ) |
|
|
inline |
◆ UpdateRxCounters()
void Simulator::UpdateRxCounters |
( |
size_t |
frame_id, |
|
|
size_t |
frame_id_in_buffer, |
|
|
size_t |
symbol_id, |
|
|
size_t |
ant_id |
|
) |
| |
◆ complete_task_queue_
◆ config_
◆ core_offset_
size_t Simulator::core_offset_ |
|
private |
◆ frame_end_receive_
double* Simulator::frame_end_receive_ |
|
private |
◆ frame_end_tx_
double* Simulator::frame_end_tx_ |
|
private |
◆ frame_start_
Table<double> Simulator::frame_start_ |
|
private |
◆ frame_start_receive_
double* Simulator::frame_start_receive_ |
|
private |
◆ frame_start_tx_
double* Simulator::frame_start_tx_ |
|
private |
◆ kDequeueBulkSize
constexpr size_t Simulator::kDequeueBulkSize = 32 |
|
staticconstexpr |
◆ kDequeueBulkSizeSingle
constexpr size_t Simulator::kDequeueBulkSizeSingle = 8 |
|
staticconstexpr |
◆ kTransposeBlockNum
constexpr size_t Simulator::kTransposeBlockNum = 256 |
|
staticconstexpr |
◆ kTransposeBlockSize
constexpr size_t Simulator::kTransposeBlockSize = 8 |
|
staticconstexpr |
◆ message_queue_
◆ receiver_
std::unique_ptr<Receiver> Simulator::receiver_ |
|
private |
◆ rx_counter_packets_
size_t* Simulator::rx_counter_packets_ |
|
private |
◆ rx_ptoks_ptr_
◆ sender_
std::unique_ptr<Sender> Simulator::sender_ |
|
private |
◆ socket_buffer_
Table<char> Simulator::socket_buffer_ |
|
private |
Received data
First dimension: SOCKET_THREAD_NUM
Second dimension of socket_buffer: kFrameWnd * BS_ANT_NUM * symbol_num_perframe * packet_length
Second dimension of buffer status: kFrameWnd * BS_ANT_NUM * symbol_num_perframe
◆ socket_buffer_size_
size_t Simulator::socket_buffer_size_ |
|
private |
◆ socket_rx_thread_num_
size_t Simulator::socket_rx_thread_num_ |
|
private |
◆ socket_tx_thread_num_
size_t Simulator::socket_tx_thread_num_ |
|
private |
◆ task_thread_num_
size_t Simulator::task_thread_num_ |
|
private |
The documentation for this class was generated from the following files: