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

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

Issue 11365174: A change in the way we place TransitionElementKinds in the tree. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Now includes optimization of codegen for transition elementskind instruction Created 8 years 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/small-pointer-list.h ('k') | src/x64/lithium-codegen-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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 SC(code_space_bytes_committed, V8.MemoryCodeSpaceBytesCommitted) \ 292 SC(code_space_bytes_committed, V8.MemoryCodeSpaceBytesCommitted) \
293 SC(code_space_bytes_used, V8.MemoryCodeSpaceBytesUsed) \ 293 SC(code_space_bytes_used, V8.MemoryCodeSpaceBytesUsed) \
294 SC(map_space_bytes_available, V8.MemoryMapSpaceBytesAvailable) \ 294 SC(map_space_bytes_available, V8.MemoryMapSpaceBytesAvailable) \
295 SC(map_space_bytes_committed, V8.MemoryMapSpaceBytesCommitted) \ 295 SC(map_space_bytes_committed, V8.MemoryMapSpaceBytesCommitted) \
296 SC(map_space_bytes_used, V8.MemoryMapSpaceBytesUsed) \ 296 SC(map_space_bytes_used, V8.MemoryMapSpaceBytesUsed) \
297 SC(cell_space_bytes_available, V8.MemoryCellSpaceBytesAvailable) \ 297 SC(cell_space_bytes_available, V8.MemoryCellSpaceBytesAvailable) \
298 SC(cell_space_bytes_committed, V8.MemoryCellSpaceBytesCommitted) \ 298 SC(cell_space_bytes_committed, V8.MemoryCellSpaceBytesCommitted) \
299 SC(cell_space_bytes_used, V8.MemoryCellSpaceBytesUsed) \ 299 SC(cell_space_bytes_used, V8.MemoryCellSpaceBytesUsed) \
300 SC(lo_space_bytes_available, V8.MemoryLoSpaceBytesAvailable) \ 300 SC(lo_space_bytes_available, V8.MemoryLoSpaceBytesAvailable) \
301 SC(lo_space_bytes_committed, V8.MemoryLoSpaceBytesCommitted) \ 301 SC(lo_space_bytes_committed, V8.MemoryLoSpaceBytesCommitted) \
302 SC(lo_space_bytes_used, V8.MemoryLoSpaceBytesUsed) 302 SC(lo_space_bytes_used, V8.MemoryLoSpaceBytesUsed) \
303 SC(transition_site_positive_score, V8.TransitionSitePositiveScore) \
304 SC(transition_site_negative_score, V8.TransitionSiteNegativeScore) \
305 SC(transition_site_neutral_score, V8.TransitionSiteNeutralScore)
303 306
304 307
305 // This file contains all the v8 counters that are in use. 308 // This file contains all the v8 counters that are in use.
306 class Counters { 309 class Counters {
307 public: 310 public:
308 #define HT(name, caption) \ 311 #define HT(name, caption) \
309 HistogramTimer* name() { return &name##_; } 312 HistogramTimer* name() { return &name##_; }
310 HISTOGRAM_TIMER_LIST(HT) 313 HISTOGRAM_TIMER_LIST(HT)
311 #undef HT 314 #undef HT
312 315
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 #undef SC 422 #undef SC
420 423
421 friend class Isolate; 424 friend class Isolate;
422 425
423 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 426 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
424 }; 427 };
425 428
426 } } // namespace v8::internal 429 } } // namespace v8::internal
427 430
428 #endif // V8_V8_COUNTERS_H_ 431 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/small-pointer-list.h ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698