Merge pull request #2856 from alexrp/profiler-fix-sem
authormonojenkins <jo.shields+jenkins@xamarin.com>
Fri, 8 Apr 2016 17:55:19 +0000 (18:55 +0100)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Fri, 8 Apr 2016 17:55:19 +0000 (18:55 +0100)
commitbde98eb9fef5269d0add1128a84d4ffc9e9f3e05
treef9a557197b4e6205ba5d5280bf968428cddfff1b
parent00baea510b671d4d3f16cd0ded6d6fc781cfe4a8
parenta3b5a6ee024265adfa63ca5349497217d6d3b9f1
Merge pull request #2856 from alexrp/profiler-fix-sem

[profiler] Fix incorrect initial writer semaphore value.

This was used during debugging. I forgot to revert it back to 0 before posting
the pull request (#2838). This led to ~3-5% more CPU usage by the writer thread
than actually necessary; it now sits around 0-1% for typical workloads.