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/tracked_objects.h" | 5 #include "base/tracked_objects.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 #include <stdlib.h> | 8 #include <stdlib.h> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/debug/leak_annotations.h" | 11 #include "base/debug/leak_annotations.h" |
12 #include "base/format_macros.h" | 12 #include "base/format_macros.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/port.h" | 14 #include "base/port.h" |
15 #include "base/process_util.h" | 15 #include "base/process/process_handle.h" |
16 #include "base/profiler/alternate_timer.h" | 16 #include "base/profiler/alternate_timer.h" |
17 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
18 #include "base/third_party/valgrind/memcheck.h" | 18 #include "base/third_party/valgrind/memcheck.h" |
19 #include "base/threading/thread_restrictions.h" | 19 #include "base/threading/thread_restrictions.h" |
20 | 20 |
21 using base::TimeDelta; | 21 using base::TimeDelta; |
22 | 22 |
23 namespace tracked_objects { | 23 namespace tracked_objects { |
24 | 24 |
25 namespace { | 25 namespace { |
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
861 : process_id(base::GetCurrentProcId()) { | 861 : process_id(base::GetCurrentProcId()) { |
862 #else | 862 #else |
863 : process_id(0) { | 863 : process_id(0) { |
864 #endif | 864 #endif |
865 } | 865 } |
866 | 866 |
867 ProcessDataSnapshot::~ProcessDataSnapshot() { | 867 ProcessDataSnapshot::~ProcessDataSnapshot() { |
868 } | 868 } |
869 | 869 |
870 } // namespace tracked_objects | 870 } // namespace tracked_objects |
OLD | NEW |