mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-26 19:52:38 +00:00
Enable Onnxruntime Telemetry by Default for 1.3 (#3338)
This commit is contained in:
parent
2e875f4e67
commit
810a10b230
2 changed files with 1 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ TRACELOGGING_DEFINE_PROVIDER(telemetry_provider_handle, "Microsoft.ML.ONNXRuntim
|
|||
|
||||
OrtMutex WindowsTelemetry::mutex_;
|
||||
uint32_t WindowsTelemetry::global_register_count_ = 0;
|
||||
bool WindowsTelemetry::enabled_ = false;
|
||||
bool WindowsTelemetry::enabled_ = true;
|
||||
|
||||
|
||||
WindowsTelemetry::WindowsTelemetry() {
|
||||
|
|
|
|||
|
|
@ -1355,7 +1355,6 @@ const WinmlAdapterApi* OnnxruntimeEngineFactory::UseWinmlAdapterApi() {
|
|||
HRESULT OnnxruntimeEngineFactory::GetOrtEnvironment(OrtEnv** ort_env) {
|
||||
RETURN_IF_FAILED(EnsureEnvironment());
|
||||
RETURN_IF_FAILED(environment_->GetOrtEnvironment(ort_env));
|
||||
RETURN_HR_IF_NOT_OK_MSG(ort_api_->EnableTelemetryEvents(*ort_env), ort_api_);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue