bool version_requested = false;
// Simulation parameters
- unsigned log_rate = 1;
+ int log_rate = 1;
// Platform and deployment
std::string platform_file;
extern bool version_requested;
// Simulation parameters
- extern unsigned log_rate;
+ extern int log_rate;
// Platform and deployment
extern std::string platform_file;
{
delete compute_thread;
total_load_exit += real_load;
+ if (opt::log_rate < 0)
+ return;
if (opt::bookkeeping) {
XBT_INFO("Final load after %d:%d iterations: %g ; expected: %g",
lb_iter, comp_iter, real_load, expected_load);
int process::run()
{
- XBT_INFO("Initial load: %g", real_load);
+ if (opt::log_rate >= 0)
+ XBT_INFO("Initial load: %g", real_load);
XBT_VERB("Starting...");
compute_thread->start();
load_balance_loop();