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 20768002: Remove unused methods from RuntimeProfiler (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: log.h cleanup Created 7 years, 4 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 | « no previous file | 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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 443
444 Log* log_; 444 Log* log_;
445 LowLevelLogger* ll_logger_; 445 LowLevelLogger* ll_logger_;
446 JitLogger* jit_logger_; 446 JitLogger* jit_logger_;
447 List<CodeEventListener*> listeners_; 447 List<CodeEventListener*> listeners_;
448 448
449 // Guards against multiple calls to TearDown() that can happen in some tests. 449 // Guards against multiple calls to TearDown() that can happen in some tests.
450 // 'true' between SetUp() and TearDown(). 450 // 'true' between SetUp() and TearDown().
451 bool is_initialized_; 451 bool is_initialized_;
452 452
453 // Support for 'incremental addresses' in compressed logs:
454 // LogMessageBuilder::AppendAddress(Address addr)
455 Address last_address_;
456 // Logger::TickEvent(...)
457 Address prev_sp_;
458 Address prev_function_;
459 // Logger::MoveEventInternal(...)
460 Address prev_to_;
461 // Logger::FunctionCreateEvent(...)
462 Address prev_code_;
463
464 int64_t epoch_; 453 int64_t epoch_;
465 454
466 friend class CpuProfiler; 455 friend class CpuProfiler;
467 }; 456 };
468 457
469 458
470 class CodeEventListener { 459 class CodeEventListener {
471 public: 460 public:
472 virtual ~CodeEventListener() {} 461 virtual ~CodeEventListener() {}
473 462
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 int length) = 0; 533 int length) = 0;
545 534
546 NameBuffer* name_buffer_; 535 NameBuffer* name_buffer_;
547 }; 536 };
548 537
549 538
550 } } // namespace v8::internal 539 } } // namespace v8::internal
551 540
552 541
553 #endif // V8_LOG_H_ 542 #endif // V8_LOG_H_
OLDNEW
« no previous file with comments | « no previous file | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698