ug4
parallel_progress.h File Reference
#include <iostream>
#include "common/util/string_util.h"
#include "common/log.h"
#include <ctime>
#include <string>
#include <sstream>
#include "common/stopwatch.h"
#include "common/util/ostream_util.h"

Go to the source code of this file.

Classes

class  ug::ParallelProgress
 

Namespaces

 ug
 the ug namespace
 

Macros

#define PARALLEL_PROGRESS_FINISH(progVarName)   progVarName.stop();
 
#define PARALLEL_PROGRESS_START(progVarName, dSize, msg, numProcs)    ug::ParallelProgress progVarName; { std::stringstream ss; ss << msg; progVarName.start(dSize, ss.str(), numProcs); }
 
#define PARALLEL_PROGRESS_UPDATE(progVarName, d)   progVarName.set(d);
 

Macro Definition Documentation

◆ PARALLEL_PROGRESS_FINISH

#define PARALLEL_PROGRESS_FINISH (   progVarName)    progVarName.stop();

◆ PARALLEL_PROGRESS_START

#define PARALLEL_PROGRESS_START (   progVarName,
  dSize,
  msg,
  numProcs 
)     ug::ParallelProgress progVarName; { std::stringstream ss; ss << msg; progVarName.start(dSize, ss.str(), numProcs); }

◆ PARALLEL_PROGRESS_UPDATE

#define PARALLEL_PROGRESS_UPDATE (   progVarName,
 
)    progVarName.set(d);