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;
|
_preserve = PerformanceCounter.ElapsedTicks;
|
||||||
ClearTimerQueue();
|
ClearTimerQueue();
|
||||||
|
|
||||||
|
// Reset all instant counts
|
||||||
|
foreach (KeyValuePair<ProfileConfig, TimingInfo> timer in Timers)
|
||||||
|
{
|
||||||
|
timer.Value.Instant = 0;
|
||||||
|
timer.Value.InstantCount = 0;
|
||||||
|
}
|
||||||
|
|
||||||
return Timers;
|
return Timers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue