Adding instrumentation to locate the source of jankiness.
commitb1f5abc4817972011771dbb471a05d5cbfa54374
authorpkasting <pkasting@chromium.org>
Wed, 11 Feb 2015 19:39:39 +0000 (11 11:39 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 11 Feb 2015 19:41:46 +0000 (11 19:41 +0000)
tree2b45fc9f95601707591d6995c37c0a33ba07a34b
parent4f80997a117ff037bd7d902b760f7265a52def8f
Adding instrumentation to locate the source of jankiness.

Mechanical change that adds instrumentation required to locate the source of
jankiness (i.e. a long-running fragment of code executed as a part of the task
that causes jank) in the code. See the bug for details on what kind of jank we
are after.  A number of similar CLs were landed, and none of them caused issues.
The code of the instrumentation is highly optimized and is not expected to
affect performance. The code simply creates a diagnostic task which is identical
to ones created by PostTask or IPC message handlers.

BUG=457517,457525,457528
TEST=none
TBR=erikwright,scherkus,mmenke

Review URL: https://codereview.chromium.org/914873003

Cr-Commit-Position: refs/heads/master@{#315814}
content/browser/net/sqlite_persistent_cookie_store.cc
content/browser/renderer_host/media/media_stream_manager.cc
net/cookies/cookie_monster.cc
net/spdy/spdy_buffer.cc
net/spdy/spdy_session.cc
net/spdy/spdy_stream.cc