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

Side by Side Diff: webrtc/rtc_base/cpu_time.cc

Issue 2966523003: Reland "Update includes for webrtc/{base => rtc_base} rename (3/3)" (Closed)
Patch Set: Restoring prime suspect includes Created 3 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
« no previous file with comments | « webrtc/rtc_base/copyonwritebuffer_unittest.cc ('k') | webrtc/rtc_base/cpu_time_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 /* 1 /*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/base/cpu_time.h" 11 #include "webrtc/rtc_base/cpu_time.h"
12 #include "webrtc/base/logging.h" 12 #include "webrtc/rtc_base/logging.h"
13 #include "webrtc/base/timeutils.h" 13 #include "webrtc/rtc_base/timeutils.h"
14 14
15 #if defined(WEBRTC_LINUX) 15 #if defined(WEBRTC_LINUX)
16 #include <time.h> 16 #include <time.h>
17 #elif defined(WEBRTC_MAC) 17 #elif defined(WEBRTC_MAC)
18 #include <sys/resource.h> 18 #include <sys/resource.h>
19 #include <sys/types.h> 19 #include <sys/types.h>
20 #include <sys/times.h> 20 #include <sys/times.h>
21 #include <mach/thread_info.h> 21 #include <mach/thread_info.h>
22 #include <mach/thread_act.h> 22 #include <mach/thread_act.h>
23 #include <mach/mach_init.h> 23 #include <mach/mach_init.h>
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 } 105 }
106 #else 106 #else
107 // Not implemented yet. 107 // Not implemented yet.
108 static_assert( 108 static_assert(
109 false, "GetProcessCpuTimeNanos() platform support not yet implemented."); 109 false, "GetProcessCpuTimeNanos() platform support not yet implemented.");
110 #endif 110 #endif
111 return -1; 111 return -1;
112 } 112 }
113 113
114 } // namespace rtc 114 } // namespace rtc
OLDNEW
« no previous file with comments | « webrtc/rtc_base/copyonwritebuffer_unittest.cc ('k') | webrtc/rtc_base/cpu_time_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698