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

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 have instruction writing, map check updating. 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
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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 SC(code_space_bytes_committed, V8.MemoryCodeSpaceBytesCommitted) \ 293 SC(code_space_bytes_committed, V8.MemoryCodeSpaceBytesCommitted) \
294 SC(code_space_bytes_used, V8.MemoryCodeSpaceBytesUsed) \ 294 SC(code_space_bytes_used, V8.MemoryCodeSpaceBytesUsed) \
295 SC(map_space_bytes_available, V8.MemoryMapSpaceBytesAvailable) \ 295 SC(map_space_bytes_available, V8.MemoryMapSpaceBytesAvailable) \
296 SC(map_space_bytes_committed, V8.MemoryMapSpaceBytesCommitted) \ 296 SC(map_space_bytes_committed, V8.MemoryMapSpaceBytesCommitted) \
297 SC(map_space_bytes_used, V8.MemoryMapSpaceBytesUsed) \ 297 SC(map_space_bytes_used, V8.MemoryMapSpaceBytesUsed) \
298 SC(cell_space_bytes_available, V8.MemoryCellSpaceBytesAvailable) \ 298 SC(cell_space_bytes_available, V8.MemoryCellSpaceBytesAvailable) \
299 SC(cell_space_bytes_committed, V8.MemoryCellSpaceBytesCommitted) \ 299 SC(cell_space_bytes_committed, V8.MemoryCellSpaceBytesCommitted) \
300 SC(cell_space_bytes_used, V8.MemoryCellSpaceBytesUsed) \ 300 SC(cell_space_bytes_used, V8.MemoryCellSpaceBytesUsed) \
301 SC(lo_space_bytes_available, V8.MemoryLoSpaceBytesAvailable) \ 301 SC(lo_space_bytes_available, V8.MemoryLoSpaceBytesAvailable) \
302 SC(lo_space_bytes_committed, V8.MemoryLoSpaceBytesCommitted) \ 302 SC(lo_space_bytes_committed, V8.MemoryLoSpaceBytesCommitted) \
303 SC(lo_space_bytes_used, V8.MemoryLoSpaceBytesUsed) 303 SC(lo_space_bytes_used, V8.MemoryLoSpaceBytesUsed) \
304 SC(transition_site_positive_score, V8.TransitionSitePositiveScore) \
305 SC(transition_site_negative_score, V8.TransitionSiteNegativeScore) \
306 SC(transition_site_neutral_score, V8.TransitionSiteNeutralScore)
304 307
305 308
306 // This file contains all the v8 counters that are in use. 309 // This file contains all the v8 counters that are in use.
307 class Counters { 310 class Counters {
308 public: 311 public:
309 #define HT(name, caption) \ 312 #define HT(name, caption) \
310 HistogramTimer* name() { return &name##_; } 313 HistogramTimer* name() { return &name##_; }
311 HISTOGRAM_TIMER_LIST(HT) 314 HISTOGRAM_TIMER_LIST(HT)
312 #undef HT 315 #undef HT
313 316
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 // Sliding state window counters. 439 // Sliding state window counters.
437 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; 440 StatsCounter state_counters_[kSlidingStateWindowCounterCount];
438 friend class Isolate; 441 friend class Isolate;
439 442
440 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 443 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
441 }; 444 };
442 445
443 } } // namespace v8::internal 446 } } // namespace v8::internal
444 447
445 #endif // V8_V8_COUNTERS_H_ 448 #endif // V8_V8_COUNTERS_H_
OLDNEW
« src/hydrogen.cc ('K') | « src/objects.cc ('k') | test/mjsunit/elements-transition.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698