Agora  1.2.0
Agora project
sender_cli.cc File Reference

Main file for the sender executable. More...

#include <gflags/gflags.h>
#include "logger.h"
#include "sender.h"
#include "version_config.h"
Include dependency graph for sender_cli.cc:

Functions

 DEFINE_uint64 (num_threads, 4, "Number of sender threads")
 
 DEFINE_uint64 (core_offset, 0, "Core ID of the first sender thread")
 
 DEFINE_uint64 (frame_duration, 0, "Frame duration in microseconds")
 
 DEFINE_uint64 (inter_frame_delay, 0, "Delay between two frames in microseconds")
 
 DEFINE_string (server_mac_addr, "ff:ff:ff:ff:ff:ff", "MAC address of the remote Agora server to send data to")
 
 DEFINE_string (conf_file, TOSTRING(PROJECT_DIRECTORY) "/files/config/ci/tddconfig-sim-ul.json", "Config filename")
 
 DEFINE_uint64 (enable_slow_start, 1, "Send frames slower than the specified frame duration during warmup")
 
int main (int argc, char *argv[])
 

Detailed Description

Main file for the sender executable.

Function Documentation

◆ DEFINE_string() [1/2]

DEFINE_string ( conf_file  ,
TOSTRING(PROJECT_DIRECTORY) "/files/config/ci/tddconfig-sim-ul.json ,
"Config filename  
)

◆ DEFINE_string() [2/2]

DEFINE_string ( server_mac_addr  ,
"ff:ff:ff:ff:ff:ff"  ,
"MAC address of the remote Agora server to send data to"   
)

◆ DEFINE_uint64() [1/5]

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

◆ DEFINE_uint64() [2/5]

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

◆ DEFINE_uint64() [3/5]

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

◆ DEFINE_uint64() [4/5]

DEFINE_uint64 ( inter_frame_delay  ,
,
"Delay between two frames in microseconds"   
)

◆ DEFINE_uint64() [5/5]

DEFINE_uint64 ( num_threads  ,
,
"Number of sender threads  
)

◆ main()

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