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

Side by Side Diff: src/cpu-profiler.h

Issue 9372106: Make HashMap a template class to specify the allocation policy. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
11 // with the distribution. 11 // with the distribution.
(...skipping 22 matching lines...) Expand all
34 #include "unbound-queue.h" 34 #include "unbound-queue.h"
35 35
36 namespace v8 { 36 namespace v8 {
37 namespace internal { 37 namespace internal {
38 38
39 // Forward declarations. 39 // Forward declarations.
40 class CodeEntry; 40 class CodeEntry;
41 class CodeMap; 41 class CodeMap;
42 class CpuProfile; 42 class CpuProfile;
43 class CpuProfilesCollection; 43 class CpuProfilesCollection;
44 class HashMap;
45 class ProfileGenerator; 44 class ProfileGenerator;
46 class TokenEnumerator; 45 class TokenEnumerator;
47 46
48 #define CODE_EVENTS_TYPE_LIST(V) \ 47 #define CODE_EVENTS_TYPE_LIST(V) \
49 V(CODE_CREATION, CodeCreateEventRecord) \ 48 V(CODE_CREATION, CodeCreateEventRecord) \
50 V(CODE_MOVE, CodeMoveEventRecord) \ 49 V(CODE_MOVE, CodeMoveEventRecord) \
51 V(SHARED_FUNC_MOVE, SharedFunctionInfoMoveEventRecord) 50 V(SHARED_FUNC_MOVE, SharedFunctionInfoMoveEventRecord)
52 51
53 52
54 class CodeEventRecord { 53 class CodeEventRecord {
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 Atomic32 is_profiling_; 274 Atomic32 is_profiling_;
276 275
277 private: 276 private:
278 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); 277 DISALLOW_COPY_AND_ASSIGN(CpuProfiler);
279 }; 278 };
280 279
281 } } // namespace v8::internal 280 } } // namespace v8::internal
282 281
283 282
284 #endif // V8_CPU_PROFILER_H_ 283 #endif // V8_CPU_PROFILER_H_
OLDNEW
« no previous file with comments | « src/compilation-cache.h ('k') | src/hashmap.h » ('j') | src/isolate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698