| OLD | NEW |
| 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 if (FLAG_log_internal_timer_events) LogTimerEvent(START); | 314 if (FLAG_log_internal_timer_events) LogTimerEvent(START); |
| 315 } | 315 } |
| 316 | 316 |
| 317 ~TimerEventScope() { | 317 ~TimerEventScope() { |
| 318 if (FLAG_log_internal_timer_events) LogTimerEvent(END); | 318 if (FLAG_log_internal_timer_events) LogTimerEvent(END); |
| 319 } | 319 } |
| 320 | 320 |
| 321 void LogTimerEvent(StartEnd se); | 321 void LogTimerEvent(StartEnd se); |
| 322 | 322 |
| 323 static const char* v8_recompile_synchronous; | 323 static const char* v8_recompile_synchronous; |
| 324 static const char* v8_recompile_parallel; | 324 static const char* v8_recompile_concurrent; |
| 325 static const char* v8_compile_full_code; | 325 static const char* v8_compile_full_code; |
| 326 static const char* v8_execute; | 326 static const char* v8_execute; |
| 327 static const char* v8_external; | 327 static const char* v8_external; |
| 328 | 328 |
| 329 private: | 329 private: |
| 330 Isolate* isolate_; | 330 Isolate* isolate_; |
| 331 const char* name_; | 331 const char* name_; |
| 332 }; | 332 }; |
| 333 | 333 |
| 334 // ==== Events logged by --log-regexp ==== | 334 // ==== Events logged by --log-regexp ==== |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 int length) = 0; | 533 int length) = 0; |
| 534 | 534 |
| 535 NameBuffer* name_buffer_; | 535 NameBuffer* name_buffer_; |
| 536 }; | 536 }; |
| 537 | 537 |
| 538 | 538 |
| 539 } } // namespace v8::internal | 539 } } // namespace v8::internal |
| 540 | 540 |
| 541 | 541 |
| 542 #endif // V8_LOG_H_ | 542 #endif // V8_LOG_H_ |
| OLD | NEW |