OLD | NEW |
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 #include "base/time.h" | 5 #include "base/time/time.h" |
6 | 6 |
7 #include <CoreFoundation/CFDate.h> | 7 #include <CoreFoundation/CFDate.h> |
8 #include <CoreFoundation/CFTimeZone.h> | 8 #include <CoreFoundation/CFTimeZone.h> |
9 #include <mach/mach_time.h> | 9 #include <mach/mach_time.h> |
10 #include <sys/sysctl.h> | 10 #include <sys/sysctl.h> |
11 #include <sys/time.h> | 11 #include <sys/time.h> |
12 #include <sys/types.h> | 12 #include <sys/types.h> |
13 #include <time.h> | 13 #include <time.h> |
14 | 14 |
15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 TimeTicks TimeTicks::HighResNow() { | 190 TimeTicks TimeTicks::HighResNow() { |
191 return Now(); | 191 return Now(); |
192 } | 192 } |
193 | 193 |
194 // static | 194 // static |
195 TimeTicks TimeTicks::NowFromSystemTraceTime() { | 195 TimeTicks TimeTicks::NowFromSystemTraceTime() { |
196 return HighResNow(); | 196 return HighResNow(); |
197 } | 197 } |
198 | 198 |
199 } // namespace base | 199 } // namespace base |
OLD | NEW |