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

Side by Side Diff: src/log.h

Issue 1811323002: [Interpreter] Add ignition compile trace events. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months 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
OLDNEW
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 <string> 8 #include <string>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 bool is_initialized_; 402 bool is_initialized_;
403 403
404 base::ElapsedTimer timer_; 404 base::ElapsedTimer timer_;
405 405
406 friend class CpuProfiler; 406 friend class CpuProfiler;
407 }; 407 };
408 408
409 #define TIMER_EVENTS_LIST(V) \ 409 #define TIMER_EVENTS_LIST(V) \
410 V(RecompileSynchronous, true) \ 410 V(RecompileSynchronous, true) \
411 V(RecompileConcurrent, true) \ 411 V(RecompileConcurrent, true) \
412 V(CompileIgnition, true) \
412 V(CompileFullCode, true) \ 413 V(CompileFullCode, true) \
413 V(OptimizeCode, true) \ 414 V(OptimizeCode, true) \
414 V(CompileCode, true) \ 415 V(CompileCode, true) \
415 V(DeoptimizeCode, true) \ 416 V(DeoptimizeCode, true) \
416 V(Execute, true) \ 417 V(Execute, true) \
417 V(External, true) \ 418 V(External, true) \
418 V(IcMiss, false) 419 V(IcMiss, false)
419 420
420 #define V(TimerName, expose) \ 421 #define V(TimerName, expose) \
421 class TimerEvent##TimerName : public AllStatic { \ 422 class TimerEvent##TimerName : public AllStatic { \
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 526
526 NameBuffer* name_buffer_; 527 NameBuffer* name_buffer_;
527 }; 528 };
528 529
529 530
530 } // namespace internal 531 } // namespace internal
531 } // namespace v8 532 } // namespace v8
532 533
533 534
534 #endif // V8_LOG_H_ 535 #endif // V8_LOG_H_
OLDNEW
« src/interpreter/interpreter.cc ('K') | « src/interpreter/interpreter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698