Forgot to reset instant count/time
This commit is contained in:
parent
7ba4125e5a
commit
df07078477
1 changed files with 7 additions and 0 deletions
|
@ -152,6 +152,13 @@ namespace Ryujinx.Profiler
|
|||
_preserve = PerformanceCounter.ElapsedTicks;
|
||||
ClearTimerQueue();
|
||||
|
||||
// Reset all instant counts
|
||||
foreach (KeyValuePair<ProfileConfig, TimingInfo> timer in Timers)
|
||||
{
|
||||
timer.Value.Instant = 0;
|
||||
timer.Value.InstantCount = 0;
|
||||
}
|
||||
|
||||
return Timers;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue