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

Side by Side Diff: src/counters.h

Issue 1413503007: Provide a counter for thrown JavaScript errors per context (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | src/isolate.cc » ('j') | src/isolate.cc » ('J')
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 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \ 590 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \
591 /* Number of contexts created from scratch. */ \ 591 /* Number of contexts created from scratch. */ \
592 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \ 592 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \
593 /* Number of contexts created by partial snapshot. */ \ 593 /* Number of contexts created by partial snapshot. */ \
594 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) \ 594 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) \
595 /* Number of code objects found from pc. */ \ 595 /* Number of code objects found from pc. */ \
596 SC(pc_to_code, V8.PcToCode) \ 596 SC(pc_to_code, V8.PcToCode) \
597 SC(pc_to_code_cached, V8.PcToCodeCached) \ 597 SC(pc_to_code_cached, V8.PcToCodeCached) \
598 /* The store-buffer implementation of the write barrier. */ \ 598 /* The store-buffer implementation of the write barrier. */ \
599 SC(store_buffer_compactions, V8.StoreBufferCompactions) \ 599 SC(store_buffer_compactions, V8.StoreBufferCompactions) \
600 SC(store_buffer_overflows, V8.StoreBufferOverflows) 600 SC(store_buffer_overflows, V8.StoreBufferOverflows) \
601 /* Number of exceptions thrown */ \
602 SC(exceptions_thrown, V8.ExceptionsThrown)
601 603
602 604
603 #define STATS_COUNTER_LIST_2(SC) \ 605 #define STATS_COUNTER_LIST_2(SC) \
604 /* Number of code stubs. */ \ 606 /* Number of code stubs. */ \
605 SC(code_stubs, V8.CodeStubs) \ 607 SC(code_stubs, V8.CodeStubs) \
606 /* Amount of stub code. */ \ 608 /* Amount of stub code. */ \
607 SC(total_stubs_code_size, V8.TotalStubsCodeSize) \ 609 SC(total_stubs_code_size, V8.TotalStubsCodeSize) \
608 /* Amount of (JS) compiled code. */ \ 610 /* Amount of (JS) compiled code. */ \
609 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \ 611 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \
610 SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \ 612 SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 888
887 explicit Counters(Isolate* isolate); 889 explicit Counters(Isolate* isolate);
888 890
889 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 891 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
890 }; 892 };
891 893
892 } // namespace internal 894 } // namespace internal
893 } // namespace v8 895 } // namespace v8
894 896
895 #endif // V8_COUNTERS_H_ 897 #endif // V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | src/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698