| OLD | NEW | 
|---|
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 56 // this problem.  Please avoid using recursive macros of this length when | 56 // this problem.  Please avoid using recursive macros of this length when | 
| 57 // possible. | 57 // possible. | 
| 58 #define STATS_COUNTER_LIST_1(SC)                                      \ | 58 #define STATS_COUNTER_LIST_1(SC)                                      \ | 
| 59   /* Global Handle Count*/                                            \ | 59   /* Global Handle Count*/                                            \ | 
| 60   SC(global_handles, V8.GlobalHandles)                                \ | 60   SC(global_handles, V8.GlobalHandles)                                \ | 
| 61   /* Mallocs from PCRE */                                             \ | 61   /* Mallocs from PCRE */                                             \ | 
| 62   SC(pcre_mallocs, V8.PcreMallocCount)                                \ | 62   SC(pcre_mallocs, V8.PcreMallocCount)                                \ | 
| 63   /* OS Memory allocated */                                           \ | 63   /* OS Memory allocated */                                           \ | 
| 64   SC(memory_allocated, V8.OsMemoryAllocated)                          \ | 64   SC(memory_allocated, V8.OsMemoryAllocated)                          \ | 
| 65   SC(normalized_maps, V8.NormalizedMaps)                              \ | 65   SC(normalized_maps, V8.NormalizedMaps)                              \ | 
|  | 66   SC(max_map_cache_length, V8.MaxMapCacheLength)                      \ | 
|  | 67   SC(map_cache_hits, V8.MapCacheHits)                                 \ | 
|  | 68   SC(map_cache_misses, V8.MapCacheMisses)                             \ | 
| 66   SC(props_to_dictionary, V8.ObjectPropertiesToDictionary)            \ | 69   SC(props_to_dictionary, V8.ObjectPropertiesToDictionary)            \ | 
| 67   SC(elements_to_dictionary, V8.ObjectElementsToDictionary)           \ | 70   SC(elements_to_dictionary, V8.ObjectElementsToDictionary)           \ | 
| 68   SC(alive_after_last_gc, V8.AliveAfterLastGC)                        \ | 71   SC(alive_after_last_gc, V8.AliveAfterLastGC)                        \ | 
| 69   SC(objs_since_last_young, V8.ObjsSinceLastYoung)                    \ | 72   SC(objs_since_last_young, V8.ObjsSinceLastYoung)                    \ | 
| 70   SC(objs_since_last_full, V8.ObjsSinceLastFull)                      \ | 73   SC(objs_since_last_full, V8.ObjsSinceLastFull)                      \ | 
| 71   SC(symbol_table_capacity, V8.SymbolTableCapacity)                   \ | 74   SC(symbol_table_capacity, V8.SymbolTableCapacity)                   \ | 
| 72   SC(number_of_symbols, V8.NumberOfSymbols)                           \ | 75   SC(number_of_symbols, V8.NumberOfSymbols)                           \ | 
| 73   SC(script_wrappers, V8.ScriptWrappers)                              \ | 76   SC(script_wrappers, V8.ScriptWrappers)                              \ | 
| 74   SC(call_initialize_stubs, V8.CallInitializeStubs)                   \ | 77   SC(call_initialize_stubs, V8.CallInitializeStubs)                   \ | 
| 75   SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs)           \ | 78   SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs)           \ | 
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 302   // Sliding state window counters. | 305   // Sliding state window counters. | 
| 303   StatsCounter state_counters_[kSlidingStateWindowCounterCount]; | 306   StatsCounter state_counters_[kSlidingStateWindowCounterCount]; | 
| 304   friend class Isolate; | 307   friend class Isolate; | 
| 305 | 308 | 
| 306   DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 309   DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 
| 307 }; | 310 }; | 
| 308 | 311 | 
| 309 } }  // namespace v8::internal | 312 } }  // namespace v8::internal | 
| 310 | 313 | 
| 311 #endif  // V8_V8_COUNTERS_H_ | 314 #endif  // V8_V8_COUNTERS_H_ | 
| OLD | NEW | 
|---|