Agora  1.2.0
Agora project
data_generator_main.cc File Reference

Data generator to generate binary files as inputs to Agora, sender and correctness tests. More...

#include <gflags/gflags.h>
#include <cstddef>
#include <memory>
#include <string>
#include "config.h"
#include "data_generator.h"
#include "logger.h"
#include "version_config.h"
Include dependency graph for data_generator_main.cc:

Functions

 DEFINE_string (profile, "random", "The profile of the input user bytes (e.g., 'random', '123')")
 
 DEFINE_string (conf_file, TOSTRING(PROJECT_DIRECTORY) "/files/examples/ci/tddconfig-sim-both.json", "Agora config filename")
 
int main (int argc, char *argv[])
 

Variables

static constexpr bool kVerbose = false
 
static constexpr bool kPrintUplinkInformationBytes = false
 
static constexpr bool kPrintDownlinkInformationBytes = false
 

Detailed Description

Data generator to generate binary files as inputs to Agora, sender and correctness tests.

Function Documentation

◆ DEFINE_string() [1/2]

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

◆ DEFINE_string() [2/2]

DEFINE_string ( profile  ,
"random"  ,
"The profile of the input user bytes (e.g., 'random', '123')"   
)

◆ main()

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

Variable Documentation

◆ kPrintDownlinkInformationBytes

constexpr bool kPrintDownlinkInformationBytes = false
staticconstexpr

◆ kPrintUplinkInformationBytes

constexpr bool kPrintUplinkInformationBytes = false
staticconstexpr

◆ kVerbose

constexpr bool kVerbose = false
staticconstexpr