Agora
1.2.0
Agora project
|
Main file for the mac bs transmitter/receiver executable. More...
#include <gflags/gflags.h>
#include <chrono>
#include <thread>
#include "logger.h"
#include "mac_receiver.h"
#include "mac_sender.h"
#include "signal_handler.h"
#include "version_config.h"
Functions | |
DEFINE_uint64 (num_sender_worker_threads, 1, "Number of mac basestation sender worker threads") | |
DEFINE_uint64 (num_sender_update_threads, 1, "Number of mac client sender update threads / streams") | |
DEFINE_uint64 (num_receiver_threads, 1, "Number of mac basestation receiver threads") | |
DEFINE_uint64 (core_offset, 6, "Core ID of the first sender thread") | |
DEFINE_uint64 (frame_duration, 0, "Frame duration in microseconds") | |
DEFINE_string (conf_file, TOSTRING(PROJECT_DIRECTORY) "/files/config/examples/bs-mac-sim.json", "Config filename") | |
DEFINE_string (data_file, TOSTRING(PROJECT_DIRECTORY) "/files/experiment/dl_increment_file.bin", "Downlink transmit filename") | |
DEFINE_string (fwd_udp_address, "", "Forward decoded mac data to address") | |
DEFINE_uint64 (fwd_udp_port, 0, "Forward decoded mac data port id (Set to 0 to disable)") | |
DEFINE_uint64 (enable_slow_start, 0, "Send frames slower than the specified frame duration during warmup") | |
int | main (int argc, char *argv[]) |
Main file for the mac bs transmitter/receiver executable.
DEFINE_string | ( | conf_file | , |
TOSTRING(PROJECT_DIRECTORY) "/files/config/examples/bs-mac-sim.json" | , | ||
"Config filename" | |||
) |
DEFINE_string | ( | data_file | , |
TOSTRING(PROJECT_DIRECTORY) "/files/experiment/dl_increment_file.bin" | , | ||
"Downlink transmit filename" | |||
) |
DEFINE_string | ( | fwd_udp_address | , |
"" | , | ||
"Forward decoded mac data to address" | |||
) |
DEFINE_uint64 | ( | core_offset | , |
6 | , | ||
"Core ID of the first sender thread" | |||
) |
DEFINE_uint64 | ( | enable_slow_start | , |
0 | , | ||
"Send frames slower than the specified frame duration during warmup" | |||
) |
DEFINE_uint64 | ( | frame_duration | , |
0 | , | ||
"Frame duration in microseconds" | |||
) |
DEFINE_uint64 | ( | fwd_udp_port | , |
0 | , | ||
"Forward decoded mac data port id (Set to 0 to disable)" | |||
) |
DEFINE_uint64 | ( | num_receiver_threads | , |
1 | , | ||
"Number of mac basestation receiver threads" | |||
) |
DEFINE_uint64 | ( | num_sender_update_threads | , |
1 | , | ||
"Number of mac client sender update threads / streams" | |||
) |
DEFINE_uint64 | ( | num_sender_worker_threads | , |
1 | , | ||
"Number of mac basestation sender worker threads" | |||
) |
int main | ( | int | argc, |
char * | argv[] | ||
) |