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

Side by Side Diff: src/v8-counters.h

Issue 78953003: Add counters for write barriers in optimized code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ported partially to ARM and MIPS architectures. Created 7 years, 1 month 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
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/x64/macro-assembler-x64.cc » ('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 2012 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
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 SC(math_tan, V8.MathTan) \ 235 SC(math_tan, V8.MathTan) \
236 SC(transcendental_cache_hit, V8.TranscendentalCacheHit) \ 236 SC(transcendental_cache_hit, V8.TranscendentalCacheHit) \
237 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \ 237 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \
238 SC(stack_interrupts, V8.StackInterrupts) \ 238 SC(stack_interrupts, V8.StackInterrupts) \
239 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \ 239 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \
240 SC(bounds_checks_eliminated, V8.BoundsChecksEliminated) \ 240 SC(bounds_checks_eliminated, V8.BoundsChecksEliminated) \
241 SC(bounds_checks_hoisted, V8.BoundsChecksHoisted) \ 241 SC(bounds_checks_hoisted, V8.BoundsChecksHoisted) \
242 SC(soft_deopts_requested, V8.SoftDeoptsRequested) \ 242 SC(soft_deopts_requested, V8.SoftDeoptsRequested) \
243 SC(soft_deopts_inserted, V8.SoftDeoptsInserted) \ 243 SC(soft_deopts_inserted, V8.SoftDeoptsInserted) \
244 SC(soft_deopts_executed, V8.SoftDeoptsExecuted) \ 244 SC(soft_deopts_executed, V8.SoftDeoptsExecuted) \
245 /* Number of write barriers in generated code. */ \
246 SC(write_barriers_dynamic, V8.WriteBarriersDynamic) \
247 SC(write_barriers_static, V8.WriteBarriersStatic) \
245 SC(new_space_bytes_available, V8.MemoryNewSpaceBytesAvailable) \ 248 SC(new_space_bytes_available, V8.MemoryNewSpaceBytesAvailable) \
246 SC(new_space_bytes_committed, V8.MemoryNewSpaceBytesCommitted) \ 249 SC(new_space_bytes_committed, V8.MemoryNewSpaceBytesCommitted) \
247 SC(new_space_bytes_used, V8.MemoryNewSpaceBytesUsed) \ 250 SC(new_space_bytes_used, V8.MemoryNewSpaceBytesUsed) \
248 SC(old_pointer_space_bytes_available, \ 251 SC(old_pointer_space_bytes_available, \
249 V8.MemoryOldPointerSpaceBytesAvailable) \ 252 V8.MemoryOldPointerSpaceBytesAvailable) \
250 SC(old_pointer_space_bytes_committed, \ 253 SC(old_pointer_space_bytes_committed, \
251 V8.MemoryOldPointerSpaceBytesCommitted) \ 254 V8.MemoryOldPointerSpaceBytesCommitted) \
252 SC(old_pointer_space_bytes_used, V8.MemoryOldPointerSpaceBytesUsed) \ 255 SC(old_pointer_space_bytes_used, V8.MemoryOldPointerSpaceBytesUsed) \
253 SC(old_data_space_bytes_available, V8.MemoryOldDataSpaceBytesAvailable) \ 256 SC(old_data_space_bytes_available, V8.MemoryOldDataSpaceBytesAvailable) \
254 SC(old_data_space_bytes_committed, V8.MemoryOldDataSpaceBytesCommitted) \ 257 SC(old_data_space_bytes_committed, V8.MemoryOldDataSpaceBytesCommitted) \
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 friend class Isolate; 395 friend class Isolate;
393 396
394 explicit Counters(Isolate* isolate); 397 explicit Counters(Isolate* isolate);
395 398
396 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 399 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
397 }; 400 };
398 401
399 } } // namespace v8::internal 402 } } // namespace v8::internal
400 403
401 #endif // V8_V8_COUNTERS_H_ 404 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698