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

Side by Side Diff: src/profiler/circular-queue.h

Issue 1356223004: Move heap and CPU profilers into a dedicated directory. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebaseline Created 5 years, 2 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/profiler/allocation-tracker.cc ('k') | src/profiler/circular-queue-inl.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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_CIRCULAR_QUEUE_H_ 5 #ifndef V8_PROFILER_CIRCULAR_QUEUE_H_
6 #define V8_CIRCULAR_QUEUE_H_ 6 #define V8_PROFILER_CIRCULAR_QUEUE_H_
7 7
8 #include "src/base/atomicops.h" 8 #include "src/base/atomicops.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 14
15 // Lock-free cache-friendly sampling circular queue for large 15 // Lock-free cache-friendly sampling circular queue for large
16 // records. Intended for fast transfer of large records between a 16 // records. Intended for fast transfer of large records between a
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 Entry buffer_[Length]; 58 Entry buffer_[Length];
59 V8_ALIGNED(PROCESSOR_CACHE_LINE_SIZE) Entry* enqueue_pos_; 59 V8_ALIGNED(PROCESSOR_CACHE_LINE_SIZE) Entry* enqueue_pos_;
60 V8_ALIGNED(PROCESSOR_CACHE_LINE_SIZE) Entry* dequeue_pos_; 60 V8_ALIGNED(PROCESSOR_CACHE_LINE_SIZE) Entry* dequeue_pos_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(SamplingCircularQueue); 62 DISALLOW_COPY_AND_ASSIGN(SamplingCircularQueue);
63 }; 63 };
64 64
65 65
66 } } // namespace v8::internal 66 } } // namespace v8::internal
67 67
68 #endif // V8_CIRCULAR_QUEUE_H_ 68 #endif // V8_PROFILER_CIRCULAR_QUEUE_H_
OLDNEW
« no previous file with comments | « src/profiler/allocation-tracker.cc ('k') | src/profiler/circular-queue-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698