Agora  1.2.0
Agora project
chsim_main.cc File Reference

Main file for the chsim executable. More...

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

Functions

 DEFINE_uint64 (bs_threads, 1, "Number of threads for handling reception of BS packets")
 
 DEFINE_uint64 (ue_threads, 1, "Number of threads for handling reception of UE packets")
 
 DEFINE_uint64 (worker_threads, 1, "Number of worker threads handling packet transmissions to BS and UE " "Antennas")
 
 DEFINE_uint64 (core_offset, 0, "Core ID of the first channel_sim thread")
 
 DEFINE_string (conf_file, TOSTRING(PROJECT_DIRECTORY) "/files/config/ci/tddconfig-sim-both.json", "Config filename")
 
 DEFINE_string (chan_model, "RAYLEIGH", "Simulator Channel Type: RAYLEIGH/AWGN")
 
 DEFINE_double (chan_snr, 20.0, "Signal-to-Noise Ratio")
 
int main (int argc, char *argv[])
 

Detailed Description

Main file for the chsim executable.

Function Documentation

◆ DEFINE_double()

DEFINE_double ( chan_snr  ,
20.  0,
"Signal-to-Noise Ratio"   
)

◆ DEFINE_string() [1/2]

DEFINE_string ( chan_model  ,
"RAYLEIGH"  ,
"Simulator Channel Type: RAYLEIGH/AWGN"   
)

◆ DEFINE_string() [2/2]

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

◆ DEFINE_uint64() [1/4]

DEFINE_uint64 ( bs_threads  ,
,
"Number of threads for handling reception of BS packets"   
)

◆ DEFINE_uint64() [2/4]

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

◆ DEFINE_uint64() [3/4]

DEFINE_uint64 ( ue_threads  ,
,
"Number of threads for handling reception of UE packets"   
)

◆ DEFINE_uint64() [4/4]

DEFINE_uint64 ( worker_threads  ,
,
"Number of worker threads handling packet transmissions to BS and UE " "Antennas"   
)

◆ main()

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