diff options
author | nduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-21 10:24:31 +0000 |
---|---|---|
committer | nduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-21 10:24:31 +0000 |
commit | 307a2570abf2195f6fe5571d835b6b1877eaabfd (patch) | |
tree | 659156176e3278e2a2623a4c54cb5a714f1a29bc /cc | |
parent | 3802fd951fdea641eea685d8cdcce2e8d964828c (diff) | |
download | chromium_src-307a2570abf2195f6fe5571d835b6b1877eaabfd.zip chromium_src-307a2570abf2195f6fe5571d835b6b1877eaabfd.tar.gz chromium_src-307a2570abf2195f6fe5571d835b6b1877eaabfd.tar.bz2 |
Remove cc counters that aren't getting a lot of use
These counters are burning a lot of valuable vertical real estate, but
after talking to people, they're never being read. I propose we just kill them.
R=enne
Review URL: https://chromiumcodereview.appspot.com/14699006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201282 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r-- | cc/resources/tile_manager.cc | 4 | ||||
-rw-r--r-- | cc/scheduler/texture_uploader.cc | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/cc/resources/tile_manager.cc b/cc/resources/tile_manager.cc index f29a1f9..efa914f 100644 --- a/cc/resources/tile_manager.cc +++ b/cc/resources/tile_manager.cc @@ -286,13 +286,10 @@ void TileManager::AssignBinsToTiles() { for (int i = 0; i < NUM_BIN_PRIORITIES; ++i) mts.bin[i] = bin_map[mts.bin[i]]; } - - TRACE_COUNTER_ID1("cc", "TileCount", this, tiles_.size()); } void TileManager::SortTiles() { TRACE_EVENT0("cc", "TileManager::SortTiles"); - TRACE_COUNTER_ID1("cc", "TileCount", this, tiles_.size()); // Sort by bin, resolution and time until needed. std::sort(tiles_.begin(), tiles_.end(), BinComparator()); @@ -300,7 +297,6 @@ void TileManager::SortTiles() { void TileManager::ManageTiles() { TRACE_EVENT0("cc", "TileManager::ManageTiles"); - TRACE_COUNTER_ID1("cc", "TileCount", this, tiles_.size()); manage_tiles_pending_ = false; ++manage_tiles_call_count_; diff --git a/cc/scheduler/texture_uploader.cc b/cc/scheduler/texture_uploader.cc index de365de..cdc552f 100644 --- a/cc/scheduler/texture_uploader.cc +++ b/cc/scheduler/texture_uploader.cc @@ -115,7 +115,6 @@ double TextureUploader::EstimatedTexturesPerSecond() { // Use the median as our estimate. std::multiset<double>::iterator median = textures_per_second_history_.begin(); std::advance(median, textures_per_second_history_.size() / 2); - TRACE_COUNTER_ID1("cc", "EstimatedTexturesPerSecond", context_, *median); return *median; } |