| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_LOG_H_ | 5 #ifndef V8_LOG_H_ |
| 6 #define V8_LOG_H_ | 6 #define V8_LOG_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/objects.h" | 9 #include "src/objects.h" |
| 10 #include "src/platform.h" | 10 #include "src/platform.h" |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 LogTimerEvent(END); | 311 LogTimerEvent(END); |
| 312 } | 312 } |
| 313 | 313 |
| 314 void LogTimerEvent(StartEnd se); | 314 void LogTimerEvent(StartEnd se); |
| 315 | 315 |
| 316 static const char* v8_recompile_synchronous; | 316 static const char* v8_recompile_synchronous; |
| 317 static const char* v8_recompile_concurrent; | 317 static const char* v8_recompile_concurrent; |
| 318 static const char* v8_compile_full_code; | 318 static const char* v8_compile_full_code; |
| 319 static const char* v8_execute; | 319 static const char* v8_execute; |
| 320 static const char* v8_external; | 320 static const char* v8_external; |
| 321 static const char* v8_ic_miss; |
| 321 | 322 |
| 322 private: | 323 private: |
| 323 Isolate* isolate_; | 324 Isolate* isolate_; |
| 324 const char* name_; | 325 const char* name_; |
| 325 }; | 326 }; |
| 326 | 327 |
| 327 // ==== Events logged by --log-regexp ==== | 328 // ==== Events logged by --log-regexp ==== |
| 328 // Regexp compilation and execution events. | 329 // Regexp compilation and execution events. |
| 329 | 330 |
| 330 void RegExpCompileEvent(Handle<JSRegExp> regexp, bool in_cache); | 331 void RegExpCompileEvent(Handle<JSRegExp> regexp, bool in_cache); |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 int length) = 0; | 520 int length) = 0; |
| 520 | 521 |
| 521 NameBuffer* name_buffer_; | 522 NameBuffer* name_buffer_; |
| 522 }; | 523 }; |
| 523 | 524 |
| 524 | 525 |
| 525 } } // namespace v8::internal | 526 } } // namespace v8::internal |
| 526 | 527 |
| 527 | 528 |
| 528 #endif // V8_LOG_H_ | 529 #endif // V8_LOG_H_ |
| OLD | NEW |