Open
Conversation
| } | ||
|
|
||
| void Telemetry::LogSessionCreationEnd(uint32_t session_id, | ||
| const common::Status& status) const { |
Contributor
There was a problem hiding this comment.
Suggested change
| const common::Status& status) const { | |
| const common::Status& status) const { |
| } | ||
|
|
||
| void Telemetry::LogRegisterEpLibraryWithLibPath(const std::string& registration_name, | ||
| const std::string& lib_path) const { |
Contributor
There was a problem hiding this comment.
Suggested change
| const std::string& lib_path) const { | |
| const std::string& lib_path) const { |
| } | ||
|
|
||
| void Telemetry::LogRegisterEpLibraryEnd(const std::string& registration_name, | ||
| const common::Status& status) const { |
Contributor
There was a problem hiding this comment.
Suggested change
| const common::Status& status) const { | |
| const common::Status& status) const { |
| virtual void LogModelLoadEnd(uint32_t session_id, const common::Status& status) const; | ||
|
|
||
| virtual void LogSessionCreationEnd(uint32_t session_id, | ||
| const common::Status& status) const; |
Contributor
There was a problem hiding this comment.
Suggested change
| const common::Status& status) const; | |
| const common::Status& status) const; |
| virtual void LogRunStart(uint32_t session_id) const; | ||
|
|
||
| virtual void LogRegisterEpLibraryWithLibPath(const std::string& registration_name, | ||
| const std::string& lib_path) const; |
Contributor
There was a problem hiding this comment.
Suggested change
| const std::string& lib_path) const; | |
| const std::string& lib_path) const; |
| } | ||
|
|
||
| void WindowsTelemetry::LogRegisterEpLibraryWithLibPath(const std::string& registration_name, | ||
| const std::string& lib_path) const { |
Contributor
There was a problem hiding this comment.
Suggested change
| const std::string& lib_path) const { | |
| const std::string& lib_path) const { |
| } | ||
|
|
||
| void WindowsTelemetry::LogRegisterEpLibraryEnd(const std::string& registration_name, | ||
| const common::Status& status) const { |
Contributor
There was a problem hiding this comment.
Suggested change
| const common::Status& status) const { | |
| const common::Status& status) const { |
| void LogModelLoadEnd(uint32_t session_id, const common::Status& status) const override; | ||
|
|
||
| void LogSessionCreationEnd(uint32_t session_id, | ||
| const common::Status& status) const override; |
Contributor
There was a problem hiding this comment.
Suggested change
| const common::Status& status) const override; | |
| const common::Status& status) const override; |
| void LogRegisterEpLibraryStart(const std::string& registration_name) const override; | ||
|
|
||
| void LogRegisterEpLibraryEnd(const std::string& registration_name, | ||
| const common::Status& status) const override; |
Contributor
There was a problem hiding this comment.
Suggested change
| const common::Status& status) const override; | |
| const common::Status& status) const override; |
Comment on lines
+980
to
+981
| constexpr static long long kRuntimePerfInitialInterval = 2 * 1000 * 1000; // 2 seconds in (us) | ||
| constexpr static long long kRuntimePerfMaxInterval = 1000 * 1000 * 60 * 10; // 10 minutes in (us) |
Contributor
There was a problem hiding this comment.
Suggested change
| constexpr static long long kRuntimePerfInitialInterval = 2 * 1000 * 1000; // 2 seconds in (us) | |
| constexpr static long long kRuntimePerfMaxInterval = 1000 * 1000 * 60 * 10; // 10 minutes in (us) | |
| constexpr static long long kRuntimePerfInitialInterval = 2 * 1000 * 1000; // 2 seconds in (us) | |
| constexpr static long long kRuntimePerfMaxInterval = 1000 * 1000 * 60 * 10; // 10 minutes in (us) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
ModelLoadStart/End - InferenceSession::LoadWithLoader, InferenceSession::LoadOrtModelWithLoader
SessionCreationEnd - InferenceSession::Initialize
RegisterEpLibraryWithLibPath, RegisterEpLibraryStart/End - Environment::RegisterExecutionProviderLibrary
Motivation and Context
To better measure health