summaryrefslogtreecommitdiffstats
path: root/base/message_loop/message_loop.h
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-02 02:03:57 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-02 02:03:57 +0000
commit9c7cbf42cdaa6d53d4a1b6fe8322bbfcbab36af9 (patch)
tree3facfac7d6a16141fce8d4132348d902fb156809 /base/message_loop/message_loop.h
parent1283330e588bf1d5e73e7c2533af4c85e7cdc5a2 (diff)
downloadchromium_src-9c7cbf42cdaa6d53d4a1b6fe8322bbfcbab36af9.zip
chromium_src-9c7cbf42cdaa6d53d4a1b6fe8322bbfcbab36af9.tar.gz
chromium_src-9c7cbf42cdaa6d53d4a1b6fe8322bbfcbab36af9.tar.bz2
Revert 221427 "Add instrumentation to the MessagePumpMac family ..."
This code is no longer needed, since the experiment is not viable. > Add instrumentation to the MessagePumpMac family of classes. > > This adds UMA-uploaded histograms of sampling intervals for key points of data: > * Total time spent in a CFRunLoop > * Total time waiting in CFRunLoop > * Total time servicing MessagePump::Delegate (the MessageLoop) > * The MessageLoop queue size and queueing delay before servicing > > It adds 1 second sampling for 15 seconds at startup, only for the main thread > (NSApplication-based) run loops. > > The data will be used to determine if adding scheduling-like behavior to the > MessagePump will result in more efficient processing of the MessageLoop work. > > An unforunate side effect of this change is exposing another method on the > MessagePump::Delegate interface, but there does not appear to be a better way > to do this. > > BUG=264886 > R=jar@chromium.org, mark@chromium.org > > Review URL: https://codereview.chromium.org/22911026 TBR=rsesek@chromium.org Review URL: https://codereview.chromium.org/360373004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280939 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop/message_loop.h')
-rw-r--r--base/message_loop/message_loop.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/base/message_loop/message_loop.h b/base/message_loop/message_loop.h
index 22d4f73..a65fbf5 100644
--- a/base/message_loop/message_loop.h
+++ b/base/message_loop/message_loop.h
@@ -446,8 +446,6 @@ class BASE_EXPORT MessageLoop : public MessagePump::Delegate {
virtual bool DoWork() OVERRIDE;
virtual bool DoDelayedWork(TimeTicks* next_delayed_work_time) OVERRIDE;
virtual bool DoIdleWork() OVERRIDE;
- virtual void GetQueueingInformation(size_t* queue_size,
- TimeDelta* queueing_delay) OVERRIDE;
const Type type_;