Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Side by Side Diff: cc/resources/worker_pool_perftest.cc

Issue 18120002: Use a direct include of time headers in cc/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/resources/resource_update_controller.h ('k') | cc/scheduler/frame_rate_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/resources/worker_pool.h" 5 #include "cc/resources/worker_pool.h"
6 6
7 #include "base/time.h" 7 #include "base/time/time.h"
8 #include "cc/base/completion_event.h" 8 #include "cc/base/completion_event.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace cc { 11 namespace cc {
12 12
13 namespace { 13 namespace {
14 14
15 static const int kTimeLimitMillis = 2000; 15 static const int kTimeLimitMillis = 2000;
16 static const int kWarmupRuns = 5; 16 static const int kWarmupRuns = 5;
17 static const int kTimeCheckInterval = 10; 17 static const int kTimeCheckInterval = 10;
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 RunExecuteTasksTest("execute_tasks_2_10", 2, 10); 257 RunExecuteTasksTest("execute_tasks_2_10", 2, 10);
258 RunExecuteTasksTest("execute_tasks_5_5", 5, 5); 258 RunExecuteTasksTest("execute_tasks_5_5", 5, 5);
259 RunExecuteTasksTest("execute_tasks_10_2", 10, 2); 259 RunExecuteTasksTest("execute_tasks_10_2", 10, 2);
260 RunExecuteTasksTest("execute_tasks_1000_1", 1000, 1); 260 RunExecuteTasksTest("execute_tasks_1000_1", 1000, 1);
261 RunExecuteTasksTest("execute_tasks_10_1", 10, 1); 261 RunExecuteTasksTest("execute_tasks_10_1", 10, 1);
262 } 262 }
263 263
264 } // namespace 264 } // namespace
265 265
266 } // namespace cc 266 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resources/resource_update_controller.h ('k') | cc/scheduler/frame_rate_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698