mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
This added telemetry isn't needed (#6363)
This commit is contained in:
parent
eab164e1a5
commit
4db4982a5e
3 changed files with 0 additions and 14 deletions
|
|
@ -155,9 +155,6 @@ void LearningModelSession::Initialize() {
|
|||
|
||||
// Cache the constructed session
|
||||
engine_ = engine;
|
||||
|
||||
// Log to telemetry that WinML LearningModelSession was successful
|
||||
telemetry_helper.LogWinMLSessionCreated();
|
||||
}
|
||||
|
||||
wfc::IPropertySet
|
||||
|
|
|
|||
|
|
@ -83,7 +83,6 @@ class WinMLTelemetryHelper {
|
|||
}
|
||||
|
||||
void LogWinMLShutDown();
|
||||
void LogWinMLSessionCreated();
|
||||
void LogWinMLSuspended();
|
||||
void LogRuntimeError(HRESULT hr, std::string message, PCSTR file, PCSTR function, int line);
|
||||
void LogRuntimeError(HRESULT hr, PCSTR message, PCSTR file, PCSTR function, int line);
|
||||
|
|
|
|||
|
|
@ -34,16 +34,6 @@ void WinMLTelemetryHelper::LogWinMLSuspended() {
|
|||
TraceLoggingInt32(runtime_session_id_, "runtimeSessionId"));
|
||||
}
|
||||
|
||||
void WinMLTelemetryHelper::LogWinMLSessionCreated() {
|
||||
WinMLTraceLoggingWrite(
|
||||
provider_,
|
||||
"WinMLSessionCreated",
|
||||
TraceLoggingKeyword(WINML_PROVIDER_KEYWORD_DEFAULT),
|
||||
TelemetryPrivacyDataTag(PDT_ProductAndServiceUsage),
|
||||
TraceLoggingString("LearningModelSession successfully created.", "message"),
|
||||
TraceLoggingKeyword(MICROSOFT_KEYWORD_MEASURES));
|
||||
}
|
||||
|
||||
void WinMLTelemetryHelper::LogRuntimeError(HRESULT hr, PCSTR message, PCSTR file, PCSTR function, int line) {
|
||||
if (!telemetry_enabled_)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue