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

Side by Side Diff: src/counters.h

Issue 1012023002: Merge old data and pointer space. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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/assembler.cc ('k') | src/extensions/statistics-extension.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 // 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_COUNTERS_H_ 5 #ifndef V8_COUNTERS_H_
6 #define V8_COUNTERS_H_ 6 #define V8_COUNTERS_H_
7 7
8 #include "include/v8.h" 8 #include "include/v8.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/base/platform/elapsed-timer.h" 10 #include "src/base/platform/elapsed-timer.h"
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 HT(compile_deserialize, V8.CompileDeserializeMicroSeconds, 1000000, \ 389 HT(compile_deserialize, V8.CompileDeserializeMicroSeconds, 1000000, \
390 MICROSECOND) \ 390 MICROSECOND) \
391 /* Total compilation time incl. caching/parsing */ \ 391 /* Total compilation time incl. caching/parsing */ \
392 HT(compile_script, V8.CompileScriptMicroSeconds, 1000000, MICROSECOND) 392 HT(compile_script, V8.CompileScriptMicroSeconds, 1000000, MICROSECOND)
393 393
394 394
395 #define AGGREGATABLE_HISTOGRAM_TIMER_LIST(AHT) \ 395 #define AGGREGATABLE_HISTOGRAM_TIMER_LIST(AHT) \
396 AHT(compile_lazy, V8.CompileLazyMicroSeconds) 396 AHT(compile_lazy, V8.CompileLazyMicroSeconds)
397 397
398 398
399 #define HISTOGRAM_PERCENTAGE_LIST(HP) \ 399 #define HISTOGRAM_PERCENTAGE_LIST(HP) \
400 /* Heap fragmentation. */ \ 400 /* Heap fragmentation. */ \
401 HP(external_fragmentation_total, \ 401 HP(external_fragmentation_total, V8.MemoryExternalFragmentationTotal) \
402 V8.MemoryExternalFragmentationTotal) \ 402 HP(external_fragmentation_old_space, V8.MemoryExternalFragmentationOldSpace) \
403 HP(external_fragmentation_old_pointer_space, \ 403 HP(external_fragmentation_code_space, \
404 V8.MemoryExternalFragmentationOldPointerSpace) \ 404 V8.MemoryExternalFragmentationCodeSpace) \
405 HP(external_fragmentation_old_data_space, \ 405 HP(external_fragmentation_map_space, V8.MemoryExternalFragmentationMapSpace) \
406 V8.MemoryExternalFragmentationOldDataSpace) \ 406 HP(external_fragmentation_cell_space, \
407 HP(external_fragmentation_code_space, \ 407 V8.MemoryExternalFragmentationCellSpace) \
408 V8.MemoryExternalFragmentationCodeSpace) \ 408 HP(external_fragmentation_property_cell_space, \
409 HP(external_fragmentation_map_space, \ 409 V8.MemoryExternalFragmentationPropertyCellSpace) \
410 V8.MemoryExternalFragmentationMapSpace) \ 410 HP(external_fragmentation_lo_space, V8.MemoryExternalFragmentationLoSpace) \
411 HP(external_fragmentation_cell_space, \ 411 /* Percentages of heap committed to each space. */ \
412 V8.MemoryExternalFragmentationCellSpace) \ 412 HP(heap_fraction_new_space, V8.MemoryHeapFractionNewSpace) \
413 HP(external_fragmentation_property_cell_space, \ 413 HP(heap_fraction_old_space, V8.MemoryHeapFractionOldSpace) \
414 V8.MemoryExternalFragmentationPropertyCellSpace) \ 414 HP(heap_fraction_code_space, V8.MemoryHeapFractionCodeSpace) \
415 HP(external_fragmentation_lo_space, \ 415 HP(heap_fraction_map_space, V8.MemoryHeapFractionMapSpace) \
416 V8.MemoryExternalFragmentationLoSpace) \ 416 HP(heap_fraction_cell_space, V8.MemoryHeapFractionCellSpace) \
417 /* Percentages of heap committed to each space. */ \ 417 HP(heap_fraction_property_cell_space, \
418 HP(heap_fraction_new_space, \ 418 V8.MemoryHeapFractionPropertyCellSpace) \
419 V8.MemoryHeapFractionNewSpace) \ 419 HP(heap_fraction_lo_space, V8.MemoryHeapFractionLoSpace) \
420 HP(heap_fraction_old_pointer_space, \ 420 /* Percentage of crankshafted codegen. */ \
421 V8.MemoryHeapFractionOldPointerSpace) \ 421 HP(codegen_fraction_crankshaft, V8.CodegenFractionCrankshaft)
422 HP(heap_fraction_old_data_space, \
423 V8.MemoryHeapFractionOldDataSpace) \
424 HP(heap_fraction_code_space, \
425 V8.MemoryHeapFractionCodeSpace) \
426 HP(heap_fraction_map_space, \
427 V8.MemoryHeapFractionMapSpace) \
428 HP(heap_fraction_cell_space, \
429 V8.MemoryHeapFractionCellSpace) \
430 HP(heap_fraction_property_cell_space, \
431 V8.MemoryHeapFractionPropertyCellSpace) \
432 HP(heap_fraction_lo_space, \
433 V8.MemoryHeapFractionLoSpace) \
434 /* Percentage of crankshafted codegen. */ \
435 HP(codegen_fraction_crankshaft, \
436 V8.CodegenFractionCrankshaft) \
437 422
438 423
439 #define HISTOGRAM_MEMORY_LIST(HM) \ 424 #define HISTOGRAM_MEMORY_LIST(HM) \
440 HM(heap_sample_total_committed, V8.MemoryHeapSampleTotalCommitted) \ 425 HM(heap_sample_total_committed, V8.MemoryHeapSampleTotalCommitted) \
441 HM(heap_sample_total_used, V8.MemoryHeapSampleTotalUsed) \ 426 HM(heap_sample_total_used, V8.MemoryHeapSampleTotalUsed) \
442 HM(heap_sample_map_space_committed, \ 427 HM(heap_sample_map_space_committed, \
443 V8.MemoryHeapSampleMapSpaceCommitted) \ 428 V8.MemoryHeapSampleMapSpaceCommitted) \
444 HM(heap_sample_cell_space_committed, \ 429 HM(heap_sample_cell_space_committed, \
445 V8.MemoryHeapSampleCellSpaceCommitted) \ 430 V8.MemoryHeapSampleCellSpaceCommitted) \
446 HM(heap_sample_property_cell_space_committed, \ 431 HM(heap_sample_property_cell_space_committed, \
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 SC(bounds_checks_hoisted, V8.BoundsChecksHoisted) \ 584 SC(bounds_checks_hoisted, V8.BoundsChecksHoisted) \
600 SC(soft_deopts_requested, V8.SoftDeoptsRequested) \ 585 SC(soft_deopts_requested, V8.SoftDeoptsRequested) \
601 SC(soft_deopts_inserted, V8.SoftDeoptsInserted) \ 586 SC(soft_deopts_inserted, V8.SoftDeoptsInserted) \
602 SC(soft_deopts_executed, V8.SoftDeoptsExecuted) \ 587 SC(soft_deopts_executed, V8.SoftDeoptsExecuted) \
603 /* Number of write barriers in generated code. */ \ 588 /* Number of write barriers in generated code. */ \
604 SC(write_barriers_dynamic, V8.WriteBarriersDynamic) \ 589 SC(write_barriers_dynamic, V8.WriteBarriersDynamic) \
605 SC(write_barriers_static, V8.WriteBarriersStatic) \ 590 SC(write_barriers_static, V8.WriteBarriersStatic) \
606 SC(new_space_bytes_available, V8.MemoryNewSpaceBytesAvailable) \ 591 SC(new_space_bytes_available, V8.MemoryNewSpaceBytesAvailable) \
607 SC(new_space_bytes_committed, V8.MemoryNewSpaceBytesCommitted) \ 592 SC(new_space_bytes_committed, V8.MemoryNewSpaceBytesCommitted) \
608 SC(new_space_bytes_used, V8.MemoryNewSpaceBytesUsed) \ 593 SC(new_space_bytes_used, V8.MemoryNewSpaceBytesUsed) \
609 SC(old_pointer_space_bytes_available, \ 594 SC(old_space_bytes_available, V8.MemoryOldSpaceBytesAvailable) \
610 V8.MemoryOldPointerSpaceBytesAvailable) \ 595 SC(old_space_bytes_committed, V8.MemoryOldSpaceBytesCommitted) \
611 SC(old_pointer_space_bytes_committed, \ 596 SC(old_space_bytes_used, V8.MemoryOldSpaceBytesUsed) \
612 V8.MemoryOldPointerSpaceBytesCommitted) \
613 SC(old_pointer_space_bytes_used, V8.MemoryOldPointerSpaceBytesUsed) \
614 SC(old_data_space_bytes_available, V8.MemoryOldDataSpaceBytesAvailable) \
615 SC(old_data_space_bytes_committed, V8.MemoryOldDataSpaceBytesCommitted) \
616 SC(old_data_space_bytes_used, V8.MemoryOldDataSpaceBytesUsed) \
617 SC(code_space_bytes_available, V8.MemoryCodeSpaceBytesAvailable) \ 597 SC(code_space_bytes_available, V8.MemoryCodeSpaceBytesAvailable) \
618 SC(code_space_bytes_committed, V8.MemoryCodeSpaceBytesCommitted) \ 598 SC(code_space_bytes_committed, V8.MemoryCodeSpaceBytesCommitted) \
619 SC(code_space_bytes_used, V8.MemoryCodeSpaceBytesUsed) \ 599 SC(code_space_bytes_used, V8.MemoryCodeSpaceBytesUsed) \
620 SC(map_space_bytes_available, V8.MemoryMapSpaceBytesAvailable) \ 600 SC(map_space_bytes_available, V8.MemoryMapSpaceBytesAvailable) \
621 SC(map_space_bytes_committed, V8.MemoryMapSpaceBytesCommitted) \ 601 SC(map_space_bytes_committed, V8.MemoryMapSpaceBytesCommitted) \
622 SC(map_space_bytes_used, V8.MemoryMapSpaceBytesUsed) \ 602 SC(map_space_bytes_used, V8.MemoryMapSpaceBytesUsed) \
623 SC(cell_space_bytes_available, V8.MemoryCellSpaceBytesAvailable) \ 603 SC(cell_space_bytes_available, V8.MemoryCellSpaceBytesAvailable) \
624 SC(cell_space_bytes_committed, V8.MemoryCellSpaceBytesCommitted) \ 604 SC(cell_space_bytes_committed, V8.MemoryCellSpaceBytesCommitted) \
625 SC(cell_space_bytes_used, V8.MemoryCellSpaceBytesUsed) \ 605 SC(cell_space_bytes_used, V8.MemoryCellSpaceBytesUsed) \
626 SC(property_cell_space_bytes_available, \ 606 SC(property_cell_space_bytes_available, \
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 friend class Isolate; 772 friend class Isolate;
793 773
794 explicit Counters(Isolate* isolate); 774 explicit Counters(Isolate* isolate);
795 775
796 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 776 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
797 }; 777 };
798 778
799 } } // namespace v8::internal 779 } } // namespace v8::internal
800 780
801 #endif // V8_COUNTERS_H_ 781 #endif // V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/extensions/statistics-extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698