|
Agora
1.2.0
Agora project
|
Main file for the mac client 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 client 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 client receiver threads") | |
| DEFINE_uint64 (core_offset, 1, "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/ue-mac-sim.json", "Config filename") | |
| DEFINE_string (data_file, TOSTRING(PROJECT_DIRECTORY) "/files/experiment/ul_increment_file.bin", "Uplink 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 client executable.
| DEFINE_string | ( | conf_file | , |
| TOSTRING(PROJECT_DIRECTORY) "/files/config/examples/ue-mac-sim.json" | , | ||
| "Config filename" | |||
| ) |
| DEFINE_string | ( | data_file | , |
| TOSTRING(PROJECT_DIRECTORY) "/files/experiment/ul_increment_file.bin" | , | ||
| "Uplink transmit filename" | |||
| ) |
| DEFINE_string | ( | fwd_udp_address | , |
| "" | , | ||
| "Forward decoded mac data to address" | |||
| ) |
| DEFINE_uint64 | ( | core_offset | , |
| 1 | , | ||
| "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 client 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 client sender worker threads" | |||
| ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
