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

Side by Side Diff: base/message_loop/message_pump_perftest.cc

Issue 1538743002: Switch to standard integer types in base/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DEPS roll too Created 4 years, 12 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
« no previous file with comments | « base/message_loop/message_pump_mac.mm ('k') | base/message_loop/message_pump_win.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stddef.h>
6 #include <stdint.h>
7
5 #include "base/bind.h" 8 #include "base/bind.h"
6 #include "base/format_macros.h" 9 #include "base/format_macros.h"
7 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
8 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
9 #include "base/synchronization/condition_variable.h" 12 #include "base/synchronization/condition_variable.h"
10 #include "base/synchronization/lock.h" 13 #include "base/synchronization/lock.h"
11 #include "base/synchronization/waitable_event.h" 14 #include "base/synchronization/waitable_event.h"
12 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
13 #include "base/time/time.h" 16 #include "base/time/time.h"
14 #include "build/build_config.h" 17 #include "build/build_config.h"
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 295
293 TEST_F(PostTaskTest, TenTasksPerReload) { 296 TEST_F(PostTaskTest, TenTasksPerReload) {
294 Run(10000, 10); 297 Run(10000, 10);
295 } 298 }
296 299
297 TEST_F(PostTaskTest, OneHundredTasksPerReload) { 300 TEST_F(PostTaskTest, OneHundredTasksPerReload) {
298 Run(1000, 100); 301 Run(1000, 100);
299 } 302 }
300 303
301 } // namespace base 304 } // namespace base
OLDNEW
« no previous file with comments | « base/message_loop/message_pump_mac.mm ('k') | base/message_loop/message_pump_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698