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

Side by Side Diff: src/log.h

Issue 2480343002: [ic] Drop TimerEventScopes from *IC_Miss runtime functions (Closed)
Patch Set: drop debugging leftover Created 4 years, 1 month 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/ic.cc ('k') | test/mjsunit/mjsunit.js » ('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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 334
335 #define TIMER_EVENTS_LIST(V) \ 335 #define TIMER_EVENTS_LIST(V) \
336 V(RecompileSynchronous, true) \ 336 V(RecompileSynchronous, true) \
337 V(RecompileConcurrent, true) \ 337 V(RecompileConcurrent, true) \
338 V(CompileIgnition, true) \ 338 V(CompileIgnition, true) \
339 V(CompileFullCode, true) \ 339 V(CompileFullCode, true) \
340 V(OptimizeCode, true) \ 340 V(OptimizeCode, true) \
341 V(CompileCode, true) \ 341 V(CompileCode, true) \
342 V(DeoptimizeCode, true) \ 342 V(DeoptimizeCode, true) \
343 V(Execute, true) \ 343 V(Execute, true) \
344 V(External, true) \ 344 V(External, true)
345 V(IcMiss, false)
346 345
347 #define V(TimerName, expose) \ 346 #define V(TimerName, expose) \
348 class TimerEvent##TimerName : public AllStatic { \ 347 class TimerEvent##TimerName : public AllStatic { \
349 public: \ 348 public: \
350 static const char* name(void* unused = NULL) { return "V8." #TimerName; } \ 349 static const char* name(void* unused = NULL) { return "V8." #TimerName; } \
351 static bool expose_to_api() { return expose; } \ 350 static bool expose_to_api() { return expose; } \
352 }; 351 };
353 TIMER_EVENTS_LIST(V) 352 TIMER_EVENTS_LIST(V)
354 #undef V 353 #undef V
355 354
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 400
402 NameBuffer* name_buffer_; 401 NameBuffer* name_buffer_;
403 }; 402 };
404 403
405 404
406 } // namespace internal 405 } // namespace internal
407 } // namespace v8 406 } // namespace v8
408 407
409 408
410 #endif // V8_LOG_H_ 409 #endif // V8_LOG_H_
OLDNEW
« no previous file with comments | « src/ic/ic.cc ('k') | test/mjsunit/mjsunit.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698