projects
/
platform
/
upstream
/
dldt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c6ccee
)
Add `runPipeline` wrapper to mandatory track full run (#2100)
author
Vitaliy Urusovskij
<vitaliy.urusovskij@intel.com>
Tue, 8 Sep 2020 21:13:07 +0000
(
00:13
+0300)
committer
GitHub
<noreply@github.com>
Tue, 8 Sep 2020 21:13:07 +0000
(
00:13
+0300)
tests/time_tests/common/main.cpp
patch
|
blob
|
history
diff --git
a/tests/time_tests/common/main.cpp
b/tests/time_tests/common/main.cpp
index
0a05145
..
e038665
100644
(file)
--- a/
tests/time_tests/common/main.cpp
+++ b/
tests/time_tests/common/main.cpp
@@
-28,11
+28,20
@@
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
*/
int main(int argc, char **argv) {
if (!parseAndCheckCommandLine(argc, argv))
return -1;
- return
runPipeline(FLAGS_m, FLAGS_d
);
+ return
_runPipeline(
);
}
\ No newline at end of file