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

Side by Side Diff: src/log.h

Issue 318983005: Log IC misses as timer events. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/ic.cc ('k') | src/log.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 "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
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
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_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698