OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 // This file contains internal routines that are called by other files in | 5 // This file contains internal routines that are called by other files in |
6 // base/process/. | 6 // base/process/. |
7 | 7 |
8 #ifndef BASE_PROCESS_INTERNAL_LINUX_H_ | 8 #ifndef BASE_PROCESS_LINUX_INTERNAL_H_ |
9 #define BASE_PROCESS_INTERNAL_LINUX_H_ | 9 #define BASE_PROCESS_LINUX_INTERNAL_H_ |
10 | 10 |
11 #include <unistd.h> | 11 #include <unistd.h> |
12 | 12 |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 | 16 |
17 class Time; | 17 class Time; |
18 class TimeDelta; | 18 class TimeDelta; |
19 | 19 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 80 |
81 // Returns the time that the OS started. Clock ticks are relative to this. | 81 // Returns the time that the OS started. Clock ticks are relative to this. |
82 Time GetBootTime(); | 82 Time GetBootTime(); |
83 | 83 |
84 // Converts Linux clock ticks to a wall time delta. | 84 // Converts Linux clock ticks to a wall time delta. |
85 TimeDelta ClockTicksToTimeDelta(int clock_ticks); | 85 TimeDelta ClockTicksToTimeDelta(int clock_ticks); |
86 | 86 |
87 } // namespace internal | 87 } // namespace internal |
88 } // namespace base | 88 } // namespace base |
89 | 89 |
90 #endif // BASE_PROCESS_INTERNAL_LINUX_H_ | 90 #endif // BASE_PROCESS_LINUX_INTERNAL_H_ |
OLD | NEW |