Agora  1.2.0
Agora project
mac_client.cc File Reference

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"
Include dependency graph for mac_client.cc:

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[])
 

Detailed Description

Main file for the mac client executable.

Function Documentation

◆ DEFINE_string() [1/3]

DEFINE_string ( conf_file  ,
TOSTRING(PROJECT_DIRECTORY) "/files/config/examples/ue-mac-sim.json ,
"Config filename  
)

◆ DEFINE_string() [2/3]

DEFINE_string ( data_file  ,
TOSTRING(PROJECT_DIRECTORY) "/files/experiment/ul_increment_file.bin"  ,
"Uplink transmit filename  
)

◆ DEFINE_string() [3/3]

DEFINE_string ( fwd_udp_address  ,
""  ,
"Forward decoded mac data to address"   
)

◆ DEFINE_uint64() [1/7]

DEFINE_uint64 ( core_offset  ,
,
"Core ID of the first sender thread"   
)

◆ DEFINE_uint64() [2/7]

DEFINE_uint64 ( enable_slow_start  ,
,
"Send frames slower than the specified frame duration during warmup"   
)

◆ DEFINE_uint64() [3/7]

DEFINE_uint64 ( frame_duration  ,
,
"Frame duration in microseconds"   
)

◆ DEFINE_uint64() [4/7]

DEFINE_uint64 ( fwd_udp_port  ,
,
"Forward decoded mac data port id (Set to 0 to disable)"   
)

◆ DEFINE_uint64() [5/7]

DEFINE_uint64 ( num_receiver_threads  ,
,
"Number of mac client receiver threads  
)

◆ DEFINE_uint64() [6/7]

DEFINE_uint64 ( num_sender_update_threads  ,
,
"Number of mac client sender update threads / streams"   
)

◆ DEFINE_uint64() [7/7]

DEFINE_uint64 ( num_sender_worker_threads  ,
,
"Number of mac client sender worker threads  
)

◆ main()

int main ( int  argc,
char *  argv[] 
)
Here is the call graph for this function: