mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-02 03:55:34 +00:00
Remove chronological starttime assertion in InferenceTest.cs because it is not determined (#5976)
* remove chronological starttime assertion because it is not determined * use different vars
This commit is contained in:
parent
396074d2a8
commit
c63e8cf7d7
1 changed files with 3 additions and 9 deletions
|
|
@ -446,17 +446,11 @@ namespace Microsoft.ML.OnnxRuntime.Tests
|
|||
return startTime;
|
||||
}
|
||||
|
||||
// Get 1st profiling's start time
|
||||
ulong startTime1 = getSingleSessionProfilingStartTime();
|
||||
// Get 2nd profiling's start time
|
||||
ulong startTime2 = getSingleSessionProfilingStartTime();
|
||||
// Get 3rd profiling's start time
|
||||
ulong startTime3 = getSingleSessionProfilingStartTime();
|
||||
// Get profiling's start time
|
||||
ulong ProfilingStartTime = getSingleSessionProfilingStartTime();
|
||||
|
||||
// Check the profiling's start time has been updated
|
||||
Assert.True(startTime1 != 0);
|
||||
// Chronological profiling's start time
|
||||
Assert.True(startTime1 <= startTime2 && startTime2 <= startTime3);
|
||||
Assert.True(ProfilingStartTime != 0);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
|
|||
Loading…
Reference in a new issue