Add runPipeline
wrapper to mandatory track full run (#2100)
This commit is contained in:
parent
2c6cceeeb6
commit
867340e8f1
@ -27,6 +27,15 @@ bool parseAndCheckCommandLine(int argc, char **argv) {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Function calls `runPipeline` with mandatory time tracking of full run
|
||||
*/
|
||||
int _runPipeline() {
|
||||
SCOPED_TIMER(full_run);
|
||||
return runPipeline(FLAGS_m, FLAGS_d);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Main entry point
|
||||
*/
|
||||
@ -34,5 +43,5 @@ int main(int argc, char **argv) {
|
||||
if (!parseAndCheckCommandLine(argc, argv))
|
||||
return -1;
|
||||
|
||||
return runPipeline(FLAGS_m, FLAGS_d);
|
||||
return _runPipeline();
|
||||
}
|
Loading…
Reference in New Issue
Block a user