diff options
author | Peter Kasting <pkasting@google.com> | 2015-02-05 13:43:27 -0800 |
---|---|---|
committer | Peter Kasting <pkasting@google.com> | 2015-02-05 21:45:28 +0000 |
commit | 650180680cc05b5771628d502bc6803a1d8997ad (patch) | |
tree | 54f97d086ed1ffd10574926b498330016f2bfec9 /net/base/network_change_notifier_win.cc | |
parent | 7fcb729df6369250da0eccb113a64073e272de39 (diff) | |
download | chromium_src-650180680cc05b5771628d502bc6803a1d8997ad.zip chromium_src-650180680cc05b5771628d502bc6803a1d8997ad.tar.gz chromium_src-650180680cc05b5771628d502bc6803a1d8997ad.tar.bz2 |
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.
This also updates the existing instrumentation for bug 418183 to include the bug
number everywhere.
BUG=418183,455423,455434,455469
TEST=none
R=vadimt@chromium.org
TBR=jochen, mmenke, rockot, thestig
Review URL: https://codereview.chromium.org/901773002
Cr-Commit-Position: refs/heads/master@{#314885}
Diffstat (limited to 'net/base/network_change_notifier_win.cc')
-rw-r--r-- | net/base/network_change_notifier_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/network_change_notifier_win.cc b/net/base/network_change_notifier_win.cc index 0512594..03cc4c0 100644 --- a/net/base/network_change_notifier_win.cc +++ b/net/base/network_change_notifier_win.cc @@ -227,7 +227,7 @@ void NetworkChangeNotifierWin::OnObjectSignaled(HANDLE object) { // TODO(vadimt): Remove ScopedTracker below once crbug.com/418183 is fixed. tracked_objects::ScopedTracker tracking_profile( FROM_HERE_WITH_EXPLICIT_FUNCTION( - "NetworkChangeNotifierWin_OnObjectSignaled")); + "418183 NetworkChangeNotifierWin::OnObjectSignaled")); DCHECK(CalledOnValidThread()); DCHECK(is_watching_); |