Skip to content

Commit 0fa0e9a

Browse files
author
Ryan Lai
authored
Bump maximum iterations to 2048 (#247)
1 parent e3ffaa7 commit 0fa0e9a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tools/WinMLRunner/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Required command-Line arguments:
4444
-BGR : load the input as a BGR image
4545
-Tensor : load the input as a tensor
4646
-Perf [all]: capture performance measurements such as timing and memory usage. Specifying "all" will output all measurements
47-
-Iterations : # times perf measurements will be run/averaged. (maximum: 1024 times)
47+
-Iterations : # times perf measurements will be run/averaged. (maximum: 2048 times)
4848
-Input <path to input file>: binds image or CSV to model
4949
-InputImageFolder <path to directory of images> : specify folder of images to bind to model" << std::endl;
5050
-TopK <number>: print top <number> values in the result. Default to 1

Tools/WinMLRunner/src/CommandLineArgs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void CommandLineArgs::PrintUsage()
3535
std::cout << " -Perf [all]: capture performance measurements such as timing and memory usage. Specifying \"all\" "
3636
"will output all measurements"
3737
<< std::endl;
38-
std::cout << " -Iterations : # times perf measurements will be run/averaged. (maximum: 1024 times)" << std::endl;
38+
std::cout << " -Iterations : # times perf measurements will be run/averaged. (maximum: 2048 times)" << std::endl;
3939
std::cout << " -Input <path to input file>: binds image or CSV to model" << std::endl;
4040
std::cout << " -InputImageFolder <path to directory of images> : specify folder of images to bind to model" << std::endl;
4141
std::cout << " -TopK <number> : print top <number> values in the result. Default to 1" << 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 (1024)
12+
#define TIMER_SLOT_SIZE (2048)
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)