Jankometer: Generalize the code more.  Add better support for monitoring IO thread.
Previously, the Jankometer only monitored windows messages on the UI thread (or gtk events).
I've added observers for tasks and IO events.  This lets us monitor all events on UI & IO threads (UI messages, all Tasks, and IO events).
Replaces the JankObserver with a UIJankObserver and an IOJankObserver.
Shares common code in JankObserverHelper.  The JankObserverHelper and JankWatchdog are generic enough that they can probably move out to chrome/common and be reused by the renderer.

Review URL: http://codereview.chromium.org/2098020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49188 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: e81ed0577b287a1346c06fc5bbd565e429f3059e
6 files changed
tree: fe4f3934588ee69d847aa0c452711467f459ce63
  1. base/
  2. build/
  3. ipc/
  4. testing/