OLD | NEW |
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 #ifndef V8_BASE_PLATFORM_ELAPSED_TIMER_H_ | 5 #ifndef V8_BASE_PLATFORM_ELAPSED_TIMER_H_ |
6 #define V8_BASE_PLATFORM_ELAPSED_TIMER_H_ | 6 #define V8_BASE_PLATFORM_ELAPSED_TIMER_H_ |
7 | 7 |
8 #include "src/base/logging.h" | 8 #include "src/base/logging.h" |
9 #include "src/base/platform/time.h" | 9 #include "src/base/platform/time.h" |
10 | 10 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 DCHECK(!now.IsNull()); | 85 DCHECK(!now.IsNull()); |
86 return now; | 86 return now; |
87 } | 87 } |
88 | 88 |
89 TimeTicks start_ticks_; | 89 TimeTicks start_ticks_; |
90 #ifdef DEBUG | 90 #ifdef DEBUG |
91 bool started_; | 91 bool started_; |
92 #endif | 92 #endif |
93 }; | 93 }; |
94 | 94 |
95 } } // namespace v8::base | 95 } // namespace base |
| 96 } // namespace v8 |
96 | 97 |
97 #endif // V8_BASE_PLATFORM_ELAPSED_TIMER_H_ | 98 #endif // V8_BASE_PLATFORM_ELAPSED_TIMER_H_ |
OLD | NEW |