#include <iostream>
#include "common/util/string_util.h"
#include "common/log.h"
#include <ctime>
#include <string>
#include <sstream>
#include "stopwatch.h"
#include "util/ostream_util.h"
Go to the source code of this file.
|
#define | PROGRESS_FINISH(progVarName) progVarName.stop(); |
|
#define | PROGRESS_START(progVarName, dSize, msg) ug::Progress progVarName; { std::stringstream ss; ss << msg; progVarName.start(dSize, ss.str()); } |
|
#define | PROGRESS_START_WITH(progVarName, dSize, msg) { std::stringstream ss; ss << msg; progVarName.start(dSize, ss.str()); } |
|
#define | PROGRESS_UPDATE(progVarName, d) progVarName.set(d); |
|
◆ PROGRESS_FINISH
#define PROGRESS_FINISH |
( |
|
progVarName | ) |
progVarName.stop(); |
◆ PROGRESS_START
#define PROGRESS_START |
( |
|
progVarName, |
|
|
|
dSize, |
|
|
|
msg |
|
) |
| ug::Progress progVarName; { std::stringstream ss; ss << msg; progVarName.start(dSize, ss.str()); } |
◆ PROGRESS_START_WITH
#define PROGRESS_START_WITH |
( |
|
progVarName, |
|
|
|
dSize, |
|
|
|
msg |
|
) |
| { std::stringstream ss; ss << msg; progVarName.start(dSize, ss.str()); } |
◆ PROGRESS_UPDATE
#define PROGRESS_UPDATE |
( |
|
progVarName, |
|
|
|
d |
|
) |
| progVarName.set(d); |