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

Side by Side Diff: src/log.h

Issue 333643006: Mark timed range in the profile plot. (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 | « 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 // 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 uintptr_t start, 284 uintptr_t start,
285 uintptr_t end); 285 uintptr_t end);
286 void SharedLibraryEvent(const wchar_t* library_path, 286 void SharedLibraryEvent(const wchar_t* library_path,
287 uintptr_t start, 287 uintptr_t start,
288 uintptr_t end); 288 uintptr_t end);
289 289
290 // ==== Events logged by --log-timer-events. ==== 290 // ==== Events logged by --log-timer-events. ====
291 enum StartEnd { START, END }; 291 enum StartEnd { START, END };
292 292
293 void CodeDeoptEvent(Code* code); 293 void CodeDeoptEvent(Code* code);
294 void CurrentTimeEvent();
294 295
295 void TimerEvent(StartEnd se, const char* name); 296 void TimerEvent(StartEnd se, const char* name);
296 297
297 static void EnterExternal(Isolate* isolate); 298 static void EnterExternal(Isolate* isolate);
298 static void LeaveExternal(Isolate* isolate); 299 static void LeaveExternal(Isolate* isolate);
299 300
300 static void EmptyLogInternalEvents(const char* name, int se) { } 301 static void EmptyLogInternalEvents(const char* name, int se) { }
301 static void LogInternalEvents(const char* name, int se); 302 static void LogInternalEvents(const char* name, int se);
302 303
303 class TimerEventScope { 304 class TimerEventScope {
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 int length) = 0; 521 int length) = 0;
521 522
522 NameBuffer* name_buffer_; 523 NameBuffer* name_buffer_;
523 }; 524 };
524 525
525 526
526 } } // namespace v8::internal 527 } } // namespace v8::internal
527 528
528 529
529 #endif // V8_LOG_H_ 530 #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