mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-26 19:52:38 +00:00
Avoid clang-tidy crashing due to readability-static-accessed-through-instance check bug (#10690)
See https://github.com/llvm/llvm-project/issues/53874 for more info.
This commit is contained in:
parent
d2d22f2195
commit
d1b2fb15ad
1 changed files with 1 additions and 1 deletions
|
|
@ -1914,7 +1914,7 @@ Status InferenceSession::Run(const RunOptions& run_options,
|
|||
telemetry_.total_run_duration_since_last_ += TimeDiffMicroSeconds(tp);
|
||||
|
||||
// time to send telemetry?
|
||||
if (TimeDiffMicroSeconds(telemetry_.time_sent_last_) > telemetry_.kDurationBetweenSending) {
|
||||
if (TimeDiffMicroSeconds(telemetry_.time_sent_last_) > Telemetry::kDurationBetweenSending) {
|
||||
// send the telemetry
|
||||
env.GetTelemetryProvider().LogRuntimePerf(session_id_, telemetry_.total_runs_since_last_,
|
||||
telemetry_.total_run_duration_since_last_);
|
||||
|
|
|
|||
Loading…
Reference in a new issue