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

Side by Side Diff: media/base/vector_math_unittest.cc

Issue 16684003: Use a direct include of strings headers in ipc/, jingle/, media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « media/base/sinc_resampler_unittest.cc ('k') | media/base/video_frame_unittest.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // MSVC++ requires this to be set before any other includes to get M_PI. 5 // MSVC++ requires this to be set before any other includes to get M_PI.
6 #define _USE_MATH_DEFINES 6 #define _USE_MATH_DEFINES
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/cpu.h" 10 #include "base/cpu.h"
11 #include "base/memory/aligned_memory.h" 11 #include "base/memory/aligned_memory.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/stringize_macros.h" 14 #include "base/strings/stringize_macros.h"
15 #include "base/time.h" 15 #include "base/time.h"
16 #include "media/base/vector_math.h" 16 #include "media/base/vector_math.h"
17 #include "media/base/vector_math_testing.h" 17 #include "media/base/vector_math_testing.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 using base::TimeTicks; 20 using base::TimeTicks;
21 using std::fill; 21 using std::fill;
22 22
23 // Command line switch for runtime adjustment of benchmark iterations. 23 // Command line switch for runtime adjustment of benchmark iterations.
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 STRINGIZE(FMUL_FUNC) " (unaligned).\n", 282 STRINGIZE(FMUL_FUNC) " (unaligned).\n",
283 total_time_optimized_aligned_ms, 283 total_time_optimized_aligned_ms,
284 total_time_c_ms / total_time_optimized_aligned_ms, 284 total_time_c_ms / total_time_optimized_aligned_ms,
285 total_time_optimized_unaligned_ms / total_time_optimized_aligned_ms); 285 total_time_optimized_unaligned_ms / total_time_optimized_aligned_ms);
286 #endif 286 #endif
287 } 287 }
288 288
289 #undef FMUL_FUNC 289 #undef FMUL_FUNC
290 290
291 } // namespace media 291 } // namespace media
OLDNEW
« no previous file with comments | « media/base/sinc_resampler_unittest.cc ('k') | media/base/video_frame_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698