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

Side by Side Diff: bench/nanobench.cpp

Issue 1568883002: Add missing include for sleep (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include <ctype.h> 8 #include <ctype.h>
9 9
10 #include "nanobench.h" 10 #include "nanobench.h"
(...skipping 24 matching lines...) Expand all
35 #include "SkOSFile.h" 35 #include "SkOSFile.h"
36 #include "SkPictureRecorder.h" 36 #include "SkPictureRecorder.h"
37 #include "SkPictureUtils.h" 37 #include "SkPictureUtils.h"
38 #include "SkString.h" 38 #include "SkString.h"
39 #include "SkSurface.h" 39 #include "SkSurface.h"
40 #include "SkTaskGroup.h" 40 #include "SkTaskGroup.h"
41 #include "SkThreadUtils.h" 41 #include "SkThreadUtils.h"
42 42
43 #include <stdlib.h> 43 #include <stdlib.h>
44 44
45 #ifndef SK_BUILD_FOR_WIN32
46 #include <unistd.h>
47 #endif
48
45 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK 49 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
46 #include "nanobenchAndroid.h" 50 #include "nanobenchAndroid.h"
47 #endif 51 #endif
48 52
49 #if SK_SUPPORT_GPU 53 #if SK_SUPPORT_GPU
50 #include "gl/GrGLDefines.h" 54 #include "gl/GrGLDefines.h"
51 #include "GrCaps.h" 55 #include "GrCaps.h"
52 #include "GrContextFactory.h" 56 #include "GrContextFactory.h"
53 SkAutoTDelete<GrContextFactory> gGrFactory; 57 SkAutoTDelete<GrContextFactory> gGrFactory;
54 #endif 58 #endif
(...skipping 1168 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 1227
1224 return 0; 1228 return 0;
1225 } 1229 }
1226 1230
1227 #if !defined SK_BUILD_FOR_IOS 1231 #if !defined SK_BUILD_FOR_IOS
1228 int main(int argc, char** argv) { 1232 int main(int argc, char** argv) {
1229 SkCommandLineFlags::Parse(argc, argv); 1233 SkCommandLineFlags::Parse(argc, argv);
1230 return nanobench_main(); 1234 return nanobench_main();
1231 } 1235 }
1232 #endif 1236 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698