Skip to content

Commit 4554ed6

Browse files
authored
Explicitly indicate maximum iterations (#208)
1 parent 148a113 commit 4554ed6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Tools/WinMLRunner/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You can either download the x64 executable or build it yourself.
99

1010
### Download
1111

12-
[Download x64 Exe](https://github.com/Microsoft/Windows-Machine-Learning/releases/tag/v1.0.0.0)
12+
[Download x64 and x86 Exe](https://github.com/Microsoft/Windows-Machine-Learning/releases/tag/v1.0.1.0)
1313

1414
### Build
1515

@@ -43,7 +43,7 @@ Required command-Line arguments:
4343
-BGR : load the input as a BGR image
4444
-Tensor : load the input as a tensor
4545
-Perf [all]: capture performance measurements such as timing and memory usage. Specifying "all" will output all measurements
46-
-Iterations : # times perf measurements will be run/averaged
46+
-Iterations : # times perf measurements will be run/averaged. (maximum: 1024 times)
4747
-Input <fully qualified path>: binds image or CSV to model
4848
-TopK <number>: print top <number> values in the result. Default to 1
4949
-PerfOutput [<fully qualified path>]: csv file to write the perf results to

Tools/WinMLRunner/src/CommandLineArgs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ void CommandLineArgs::PrintUsage()
2929
std::cout << " -Perf [all]: capture performance measurements such as timing and memory usage. Specifying \"all\" "
3030
"will output all measurements"
3131
<< std::endl;
32-
std::cout << " -Iterations : # times perf measurements will be run/averaged" << std::endl;
32+
std::cout << " -Iterations : # times perf measurements will be run/averaged. (maximum: 1024 times)" << std::endl;
3333
std::cout << " -Input <fully qualified path>: binds image or CSV to model" << std::endl;
3434
std::cout << " -TopK <number>: print top <number> values in the result. Default to 1" << std::endl;
3535
std::cout << " -PerfOutput [<fully qualified path>]: csv file to write the perf results to" << std::endl;

Tools/WinMLRunner/src/TimerHelper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#endif
1010
#include <psapi.h>
1111

12-
#define TIMER_SLOT_SIZE (128)
12+
#define TIMER_SLOT_SIZE (1024)
1313
#define CONVERT_100NS_TO_SECOND(x) ((x)*0.0000001)
1414
#define BYTE_TO_MB(x) ((x) / (1024.0 * 1024.0))
1515

0 commit comments

Comments
 (0)