Skip to content

Commit 2ae44cb

Browse files
authored
Change call to AddPerformanceFileMetadata to be more intuitive (#222)
1 parent 0c51398 commit 2ae44cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tools/WinMLRunner/src/CommandLineArgs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ class CommandLineArgs
110110
void SetTopK(unsigned k) { m_topK = k; }
111111
void SetPerformanceCSVPath(const std::wstring& performanceCSVPath) { m_perfOutputPath = performanceCSVPath; }
112112
void SetRunIterations(const uint32_t iterations) { m_numIterations = iterations; }
113-
void AddPerformanceFileMetadata(const std::pair<std::string, std::string>& metadata)
113+
void AddPerformanceFileMetadata(const std::string& key, const std::string& value)
114114
{
115-
m_perfFileMetadata.push_back(metadata);
115+
m_perfFileMetadata.push_back(std::make_pair(key, value));
116116
}
117117
std::wstring SaveTensorMode() const { return m_saveTensorMode; }
118118

0 commit comments

Comments
 (0)