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

Side by Side Diff: src/log.h

Issue 25541003: Add column getter to CpuProfileNode (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Also check script id in the test Created 7 years, 2 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/cpu-profiler.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 // 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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag, 464 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag,
465 Code* code, 465 Code* code,
466 SharedFunctionInfo* shared, 466 SharedFunctionInfo* shared,
467 CompilationInfo* info, 467 CompilationInfo* info,
468 Name* name) = 0; 468 Name* name) = 0;
469 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag, 469 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag,
470 Code* code, 470 Code* code,
471 SharedFunctionInfo* shared, 471 SharedFunctionInfo* shared,
472 CompilationInfo* info, 472 CompilationInfo* info,
473 Name* source, 473 Name* source,
474 int line) = 0; 474 int line, int column) = 0;
475 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag, 475 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag,
476 Code* code, 476 Code* code,
477 int args_count) = 0; 477 int args_count) = 0;
478 virtual void CallbackEvent(Name* name, Address entry_point) = 0; 478 virtual void CallbackEvent(Name* name, Address entry_point) = 0;
479 virtual void GetterCallbackEvent(Name* name, Address entry_point) = 0; 479 virtual void GetterCallbackEvent(Name* name, Address entry_point) = 0;
480 virtual void SetterCallbackEvent(Name* name, Address entry_point) = 0; 480 virtual void SetterCallbackEvent(Name* name, Address entry_point) = 0;
481 virtual void RegExpCodeCreateEvent(Code* code, String* source) = 0; 481 virtual void RegExpCodeCreateEvent(Code* code, String* source) = 0;
482 virtual void CodeMoveEvent(Address from, Address to) = 0; 482 virtual void CodeMoveEvent(Address from, Address to) = 0;
483 virtual void CodeDeleteEvent(Address from) = 0; 483 virtual void CodeDeleteEvent(Address from) = 0;
484 virtual void SharedFunctionInfoMoveEvent(Address from, Address to) = 0; 484 virtual void SharedFunctionInfoMoveEvent(Address from, Address to) = 0;
(...skipping 18 matching lines...) Expand all
503 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag, 503 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag,
504 Code* code, 504 Code* code,
505 SharedFunctionInfo* shared, 505 SharedFunctionInfo* shared,
506 CompilationInfo* info, 506 CompilationInfo* info,
507 Name* name); 507 Name* name);
508 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag, 508 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag,
509 Code* code, 509 Code* code,
510 SharedFunctionInfo* shared, 510 SharedFunctionInfo* shared,
511 CompilationInfo* info, 511 CompilationInfo* info,
512 Name* source, 512 Name* source,
513 int line); 513 int line, int column);
514 virtual void RegExpCodeCreateEvent(Code* code, String* source); 514 virtual void RegExpCodeCreateEvent(Code* code, String* source);
515 515
516 virtual void CallbackEvent(Name* name, Address entry_point) { } 516 virtual void CallbackEvent(Name* name, Address entry_point) { }
517 virtual void GetterCallbackEvent(Name* name, Address entry_point) { } 517 virtual void GetterCallbackEvent(Name* name, Address entry_point) { }
518 virtual void SetterCallbackEvent(Name* name, Address entry_point) { } 518 virtual void SetterCallbackEvent(Name* name, Address entry_point) { }
519 virtual void SharedFunctionInfoMoveEvent(Address from, Address to) { } 519 virtual void SharedFunctionInfoMoveEvent(Address from, Address to) { }
520 virtual void CodeMovingGCEvent() { } 520 virtual void CodeMovingGCEvent() { }
521 521
522 private: 522 private:
523 class NameBuffer; 523 class NameBuffer;
524 524
525 virtual void LogRecordedBuffer(Code* code, 525 virtual void LogRecordedBuffer(Code* code,
526 SharedFunctionInfo* shared, 526 SharedFunctionInfo* shared,
527 const char* name, 527 const char* name,
528 int length) = 0; 528 int length) = 0;
529 529
530 NameBuffer* name_buffer_; 530 NameBuffer* name_buffer_;
531 }; 531 };
532 532
533 533
534 } } // namespace v8::internal 534 } } // namespace v8::internal
535 535
536 536
537 #endif // V8_LOG_H_ 537 #endif // V8_LOG_H_
OLDNEW
« no previous file with comments | « src/cpu-profiler.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698