summaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc')
-rw-r--r--cc/resources/tile_manager.cc4
-rw-r--r--cc/scheduler/texture_uploader.cc1
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;
}