OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 V(REPEAT_META_EVENT, "repeat", "r") \ | 99 V(REPEAT_META_EVENT, "repeat", "r") \ |
100 V(BUILTIN_TAG, "Builtin", "bi") \ | 100 V(BUILTIN_TAG, "Builtin", "bi") \ |
101 V(CALL_DEBUG_BREAK_TAG, "CallDebugBreak", "cdb") \ | 101 V(CALL_DEBUG_BREAK_TAG, "CallDebugBreak", "cdb") \ |
102 V(CALL_DEBUG_PREPARE_STEP_IN_TAG, "CallDebugPrepareStepIn", "cdbsi") \ | 102 V(CALL_DEBUG_PREPARE_STEP_IN_TAG, "CallDebugPrepareStepIn", "cdbsi") \ |
103 V(CALL_IC_TAG, "CallIC", "cic") \ | 103 V(CALL_IC_TAG, "CallIC", "cic") \ |
104 V(CALL_INITIALIZE_TAG, "CallInitialize", "ci") \ | 104 V(CALL_INITIALIZE_TAG, "CallInitialize", "ci") \ |
105 V(CALL_MEGAMORPHIC_TAG, "CallMegamorphic", "cmm") \ | 105 V(CALL_MEGAMORPHIC_TAG, "CallMegamorphic", "cmm") \ |
106 V(CALL_MISS_TAG, "CallMiss", "cm") \ | 106 V(CALL_MISS_TAG, "CallMiss", "cm") \ |
107 V(CALL_NORMAL_TAG, "CallNormal", "cn") \ | 107 V(CALL_NORMAL_TAG, "CallNormal", "cn") \ |
108 V(CALL_PRE_MONOMORPHIC_TAG, "CallPreMonomorphic", "cpm") \ | 108 V(CALL_PRE_MONOMORPHIC_TAG, "CallPreMonomorphic", "cpm") \ |
| 109 V(KEYED_CALL_DEBUG_BREAK_TAG, "KeyedCallDebugBreak", "kcdb") \ |
| 110 V(KEYED_CALL_DEBUG_PREPARE_STEP_IN_TAG, \ |
| 111 "KeyedCallDebugPrepareStepIn", \ |
| 112 "kcdbsi") \ |
| 113 V(KEYED_CALL_IC_TAG, "KeyedCallIC", "kcic") \ |
| 114 V(KEYED_CALL_INITIALIZE_TAG, "KeyedCallInitialize", "kci") \ |
| 115 V(KEYED_CALL_MEGAMORPHIC_TAG, "KeyedCallMegamorphic", "kcmm") \ |
| 116 V(KEYED_CALL_MISS_TAG, "KeyedCallMiss", "kcm") \ |
| 117 V(KEYED_CALL_NORMAL_TAG, "KeyedCallNormal", "kcn") \ |
| 118 V(KEYED_CALL_PRE_MONOMORPHIC_TAG, \ |
| 119 "KeyedCallPreMonomorphic", \ |
| 120 "kcpm") \ |
109 V(CALLBACK_TAG, "Callback", "cb") \ | 121 V(CALLBACK_TAG, "Callback", "cb") \ |
110 V(EVAL_TAG, "Eval", "e") \ | 122 V(EVAL_TAG, "Eval", "e") \ |
111 V(FUNCTION_TAG, "Function", "f") \ | 123 V(FUNCTION_TAG, "Function", "f") \ |
112 V(KEYED_LOAD_IC_TAG, "KeyedLoadIC", "klic") \ | 124 V(KEYED_LOAD_IC_TAG, "KeyedLoadIC", "klic") \ |
113 V(KEYED_STORE_IC_TAG, "KeyedStoreIC", "ksic") \ | 125 V(KEYED_STORE_IC_TAG, "KeyedStoreIC", "ksic") \ |
114 V(LAZY_COMPILE_TAG, "LazyCompile", "lc") \ | 126 V(LAZY_COMPILE_TAG, "LazyCompile", "lc") \ |
115 V(LOAD_IC_TAG, "LoadIC", "lic") \ | 127 V(LOAD_IC_TAG, "LoadIC", "lic") \ |
116 V(REG_EXP_TAG, "RegExp", "re") \ | 128 V(REG_EXP_TAG, "RegExp", "re") \ |
117 V(SCRIPT_TAG, "Script", "sc") \ | 129 V(SCRIPT_TAG, "Script", "sc") \ |
118 V(STORE_IC_TAG, "StoreIC", "sic") \ | 130 V(STORE_IC_TAG, "StoreIC", "sic") \ |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 // Class that extracts stack trace, used for profiling. | 375 // Class that extracts stack trace, used for profiling. |
364 class StackTracer : public AllStatic { | 376 class StackTracer : public AllStatic { |
365 public: | 377 public: |
366 static void Trace(TickSample* sample); | 378 static void Trace(TickSample* sample); |
367 }; | 379 }; |
368 | 380 |
369 } } // namespace v8::internal | 381 } } // namespace v8::internal |
370 | 382 |
371 | 383 |
372 #endif // V8_LOG_H_ | 384 #endif // V8_LOG_H_ |
OLD | NEW |