mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-27 22:45:57 +00:00
update onnxruntime version string for telemetry (#3526)
* update onnxruntime version string for telemetry * use ORT_VERSION * deleted version.h
This commit is contained in:
parent
209b41a67d
commit
43c3a5edba
2 changed files with 2 additions and 8 deletions
|
|
@ -1,6 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define ONNXRUNTIME_VERSION_STRING "1.0"
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the MIT License.
|
||||
|
||||
#include "core/platform/windows/telemetry.h"
|
||||
#include "core/common/version.h"
|
||||
#include "onnxruntime_config.h"
|
||||
|
||||
// ETW includes
|
||||
// need space after Windows.h to prevent clang-format re-ordering breaking the build.
|
||||
|
|
@ -105,7 +105,7 @@ void WindowsTelemetry::LogProcessInfo() const {
|
|||
TraceLoggingKeyword(MICROSOFT_KEYWORD_MEASURES),
|
||||
// Telemetry info
|
||||
TraceLoggingUInt8(0, "schemaVersion"),
|
||||
TraceLoggingString(ONNXRUNTIME_VERSION_STRING, "runtimeVersion"),
|
||||
TraceLoggingString(ORT_VERSION, "runtimeVersion"),
|
||||
TraceLoggingBool(true, "isRedist"));
|
||||
|
||||
process_info_logged = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue