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

Side by Side Diff: src/platform/time.cc

Issue 304153016: Use full include paths everywhere (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | « src/platform/time.h ('k') | src/preparse-data.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project 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 "platform/time.h" 5 #include "src/platform/time.h"
6 6
7 #if V8_OS_POSIX 7 #if V8_OS_POSIX
8 #include <sys/time.h> 8 #include <sys/time.h>
9 #endif 9 #endif
10 #if V8_OS_MACOSX 10 #if V8_OS_MACOSX
11 #include <mach/mach_time.h> 11 #include <mach/mach_time.h>
12 #endif 12 #endif
13 13
14 #include <string.h> 14 #include <string.h>
15 15
16 #include "checks.h" 16 #include "src/checks.h"
17 #include "cpu.h" 17 #include "src/cpu.h"
18 #include "platform.h" 18 #include "src/platform.h"
19 #if V8_OS_WIN 19 #if V8_OS_WIN
20 #include "win32-headers.h" 20 #include "src/win32-headers.h"
21 #endif 21 #endif
22 22
23 namespace v8 { 23 namespace v8 {
24 namespace internal { 24 namespace internal {
25 25
26 TimeDelta TimeDelta::FromDays(int days) { 26 TimeDelta TimeDelta::FromDays(int days) {
27 return TimeDelta(days * Time::kMicrosecondsPerDay); 27 return TimeDelta(days * Time::kMicrosecondsPerDay);
28 } 28 }
29 29
30 30
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 559
560 560
561 // static 561 // static
562 bool TimeTicks::IsHighResolutionClockWorking() { 562 bool TimeTicks::IsHighResolutionClockWorking() {
563 return true; 563 return true;
564 } 564 }
565 565
566 #endif // V8_OS_WIN 566 #endif // V8_OS_WIN
567 567
568 } } // namespace v8::internal 568 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform/time.h ('k') | src/preparse-data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698