Index: base/time/time_mac.cc |
diff --git a/base/time/time_mac.cc b/base/time/time_mac.cc |
index b7bac35bb637168a25cee9cad872165dc08913f1..c23c4917e757f492ab7a6cc151158a55901878ef 100644 |
--- a/base/time/time_mac.cc |
+++ b/base/time/time_mac.cc |
@@ -92,9 +92,11 @@ int64_t ComputeThreadTicks() { |
MACH_DCHECK(kr == KERN_SUCCESS, kr) << "thread_info"; |
base::CheckedNumeric<int64_t> absolute_micros( |
- thread_info_data.user_time.seconds); |
+ thread_info_data.user_time.seconds + |
+ thread_info_data.system_time.seconds); |
absolute_micros *= base::Time::kMicrosecondsPerSecond; |
- absolute_micros += thread_info_data.user_time.microseconds; |
+ absolute_micros += (thread_info_data.user_time.microseconds + |
+ thread_info_data.system_time.microseconds); |
return absolute_micros.ValueOrDie(); |
#endif // defined(OS_IOS) |
} |