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

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

Issue 10778009: Add histogram for total heap fragmentation, don't report fragmentation for new space, and report fr… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 8 years, 5 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
« no previous file with comments | « src/heap.cc ('k') | no next file » | 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 HT(parse, V8.Parse) \ 45 HT(parse, V8.Parse) \
46 HT(parse_lazy, V8.ParseLazy) \ 46 HT(parse_lazy, V8.ParseLazy) \
47 HT(pre_parse, V8.PreParse) \ 47 HT(pre_parse, V8.PreParse) \
48 /* Total compilation times. */ \ 48 /* Total compilation times. */ \
49 HT(compile, V8.Compile) \ 49 HT(compile, V8.Compile) \
50 HT(compile_eval, V8.CompileEval) \ 50 HT(compile_eval, V8.CompileEval) \
51 HT(compile_lazy, V8.CompileLazy) 51 HT(compile_lazy, V8.CompileLazy)
52 52
53 53
54 #define HISTOGRAM_PERCENTAGE_LIST(HP) \ 54 #define HISTOGRAM_PERCENTAGE_LIST(HP) \
55 HP(external_fragmentation_new_space, \ 55 HP(external_fragmentation_total, \
56 V8.MemoryExternalFragmentationNewSpace) \ 56 V8.MemoryExternalFragmentationTotal) \
57 HP(external_fragmentation_old_pointer_space, \ 57 HP(external_fragmentation_old_pointer_space, \
58 V8.MemoryExternalFragmentationOldPointerSpace) \ 58 V8.MemoryExternalFragmentationOldPointerSpace) \
59 HP(external_fragmentation_old_data_space, \ 59 HP(external_fragmentation_old_data_space, \
60 V8.MemoryExternalFragmentationOldDataSpace) \ 60 V8.MemoryExternalFragmentationOldDataSpace) \
61 HP(external_fragmentation_code_space, \ 61 HP(external_fragmentation_code_space, \
62 V8.MemoryExternalFragmentationCodeSpace) \ 62 V8.MemoryExternalFragmentationCodeSpace) \
63 HP(external_fragmentation_map_space, \ 63 HP(external_fragmentation_map_space, \
64 V8.MemoryExternalFragmentationMapSpace) \ 64 V8.MemoryExternalFragmentationMapSpace) \
65 HP(external_fragmentation_cell_space, \ 65 HP(external_fragmentation_cell_space, \
66 V8.MemoryExternalFragmentationCellSpace) \ 66 V8.MemoryExternalFragmentationCellSpace) \
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 // Sliding state window counters. 372 // Sliding state window counters.
373 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; 373 StatsCounter state_counters_[kSlidingStateWindowCounterCount];
374 friend class Isolate; 374 friend class Isolate;
375 375
376 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 376 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
377 }; 377 };
378 378
379 } } // namespace v8::internal 379 } } // namespace v8::internal
380 380
381 #endif // V8_V8_COUNTERS_H_ 381 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698