Round CPU Usage diagnostic logging to 2 significant digits
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Jan 2017 20:33:12 +0000 (20:33 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Jan 2017 20:33:12 +0000 (20:33 +0000)
commit2e3d2f540730f88e2b123fc1a3cc3e0f39467857
tree57caafcb90b361a2212ef6ba6677c11158080bfa
parentb2488e18f34a83a28043cdd3abfd0e0fb131047e
Round CPU Usage diagnostic logging to 2 significant digits
https://bugs.webkit.org/show_bug.cgi?id=167515
<rdar://problem/30236297>

Reviewed by Antti Koivisto.

Round CPU Usage diagnostic logging to 2 significant digits
as requested by diagnostic logging team.

* UIProcess/PerActivityStateCPUUsageSampler.cpp:
(WebKit::toStringRoundingSignificantFigures):
(WebKit::PerActivityStateCPUUsageSampler::loggingTimerFired):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@211295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/PerActivityStateCPUUsageSampler.cpp