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

Side by Side Diff: src/heap/gc-tracer.h

Issue 2807353002: Add nogncheck to gtest/gtest_prod.h includes. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « src/compiler-dispatcher/compiler-dispatcher-job.h ('k') | src/libplatform/task-queue.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_HEAP_GC_TRACER_H_ 5 #ifndef V8_HEAP_GC_TRACER_H_
6 #define V8_HEAP_GC_TRACER_H_ 6 #define V8_HEAP_GC_TRACER_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/base/platform/platform.h" 9 #include "src/base/platform/platform.h"
10 #include "src/base/ring-buffer.h" 10 #include "src/base/ring-buffer.h"
11 #include "src/counters.h" 11 #include "src/counters.h"
12 #include "src/globals.h" 12 #include "src/globals.h"
13 #include "testing/gtest/include/gtest/gtest_prod.h" 13 #include "testing/gtest/include/gtest/gtest_prod.h" // nogncheck
14 14
15 namespace v8 { 15 namespace v8 {
16 namespace internal { 16 namespace internal {
17 17
18 typedef std::pair<uint64_t, double> BytesAndDuration; 18 typedef std::pair<uint64_t, double> BytesAndDuration;
19 19
20 inline BytesAndDuration MakeBytesAndDuration(uint64_t bytes, double duration) { 20 inline BytesAndDuration MakeBytesAndDuration(uint64_t bytes, double duration) {
21 return std::make_pair(bytes, duration); 21 return std::make_pair(bytes, duration);
22 } 22 }
23 23
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 base::RingBuffer<BytesAndDuration> recorded_old_generation_allocations_; 437 base::RingBuffer<BytesAndDuration> recorded_old_generation_allocations_;
438 base::RingBuffer<double> recorded_context_disposal_times_; 438 base::RingBuffer<double> recorded_context_disposal_times_;
439 base::RingBuffer<double> recorded_survival_ratios_; 439 base::RingBuffer<double> recorded_survival_ratios_;
440 440
441 DISALLOW_COPY_AND_ASSIGN(GCTracer); 441 DISALLOW_COPY_AND_ASSIGN(GCTracer);
442 }; 442 };
443 } // namespace internal 443 } // namespace internal
444 } // namespace v8 444 } // namespace v8
445 445
446 #endif // V8_HEAP_GC_TRACER_H_ 446 #endif // V8_HEAP_GC_TRACER_H_
OLDNEW
« no previous file with comments | « src/compiler-dispatcher/compiler-dispatcher-job.h ('k') | src/libplatform/task-queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698