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

Side by Side Diff: src/log.h

Issue 1553523002: [telemetry] Counter Cleanups (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix merge conflicts Created 4 years, 10 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
« no previous file with comments | « src/ic/x87/ic-x87.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 base::ElapsedTimer timer_; 408 base::ElapsedTimer timer_;
409 409
410 friend class CpuProfiler; 410 friend class CpuProfiler;
411 }; 411 };
412 412
413 413
414 #define TIMER_EVENTS_LIST(V) \ 414 #define TIMER_EVENTS_LIST(V) \
415 V(RecompileSynchronous, true) \ 415 V(RecompileSynchronous, true) \
416 V(RecompileConcurrent, true) \ 416 V(RecompileConcurrent, true) \
417 V(CompileFullCode, true) \ 417 V(CompileFullCode, true) \
418 V(OptimizeCode, true) \
418 V(Execute, true) \ 419 V(Execute, true) \
419 V(External, true) \ 420 V(External, true) \
420 V(IcMiss, false) 421 V(IcMiss, false)
421 422
422 #define V(TimerName, expose) \ 423 #define V(TimerName, expose) \
423 class TimerEvent##TimerName : public AllStatic { \ 424 class TimerEvent##TimerName : public AllStatic { \
424 public: \ 425 public: \
425 static const char* name(void* unused = NULL) { return "V8." #TimerName; } \ 426 static const char* name(void* unused = NULL) { return "V8." #TimerName; } \
426 static bool expose_to_api() { return expose; } \ 427 static bool expose_to_api() { return expose; } \
427 }; 428 };
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 525
525 NameBuffer* name_buffer_; 526 NameBuffer* name_buffer_;
526 }; 527 };
527 528
528 529
529 } // namespace internal 530 } // namespace internal
530 } // namespace v8 531 } // namespace v8
531 532
532 533
533 #endif // V8_LOG_H_ 534 #endif // V8_LOG_H_
OLDNEW
« no previous file with comments | « src/ic/x87/ic-x87.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698