mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-03 03:58:54 +00:00
27 lines
501 B
C
27 lines
501 B
C
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|||
// Licensed under the MIT License.
|
|||
|
|||
#pragma once
|
|||
|
|||
namespace Windows::AI::MachineLearning::Telemetry {
|
|||
|
|||
enum class EventCategory {
|
|||
kModelLoad = 0,
|
|||
kSessionCreation,
|
|||
kBinding,
|
|||
kEvaluation,
|
|||
};
|
|||
|
|||
class TelemetryEvent {
|
|||
public:
|
|||
TelemetryEvent(
|
|||
EventCategory eventCategory);
|
|||
|
|||
~TelemetryEvent();
|
|||
|
|||
private:
|
|||
EventCategory category_;
|
|||
std::optional<int64_t> event_id_;
|
|||
};
|
|||
|
|||
} // namespace Windows::AI::MachineLearning::Telemetry
|