[3.0 port] Fix first value of counter payload being skewed (#25799)
authorSung Yoon Whang <suwhang@microsoft.com>
Tue, 23 Jul 2019 04:32:01 +0000 (21:32 -0700)
committerGitHub <noreply@github.com>
Tue, 23 Jul 2019 04:32:01 +0000 (21:32 -0700)
commitc01a9a157d512343ef104bb2b1f97b356e708b11
treed5c2e2ed1dbc62cc7ba14c2f61b35ef8cbb4f20a
parent7e8941976e98230ccaf890c8966a5b506fb280bd
[3.0 port] Fix first value of counter payload being skewed (#25799)

* Fix issue 25709

* rename

* Fix regression test

* cleanup

* Code review feedback

* set maxincrement to 3

* test fix
src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs
src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventCounter.cs
src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IncrementingEventCounter.cs
src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IncrementingPollingCounter.cs
tests/src/tracing/eventcounter/regression-25709.cs [new file with mode: 0644]
tests/src/tracing/eventcounter/regression-25709.csproj [new file with mode: 0644]