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

Side by Side Diff: src/log.h

Issue 14888: Code regions (Closed)
Patch Set: Created 12 years 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
« src/assembler.h ('K') | « src/heap.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 uint32_t index); 153 uint32_t index);
154 static void ApiObjectAccess(const char* tag, JSObject* obj); 154 static void ApiObjectAccess(const char* tag, JSObject* obj);
155 static void ApiEntryCall(const char* name); 155 static void ApiEntryCall(const char* name);
156 156
157 157
158 // ==== Events logged by --log-code. ==== 158 // ==== Events logged by --log-code. ====
159 // Emits a code create event. 159 // Emits a code create event.
160 static void CodeCreateEvent(const char* tag, Code* code, const char* source); 160 static void CodeCreateEvent(const char* tag, Code* code, const char* source);
161 static void CodeCreateEvent(const char* tag, Code* code, String* name); 161 static void CodeCreateEvent(const char* tag, Code* code, String* name);
162 static void CodeCreateEvent(const char* tag, Code* code, int args_count); 162 static void CodeCreateEvent(const char* tag, Code* code, int args_count);
163 static void CodeAllocateEvent(Code* code, Assembler* assem);
Mads Ager (chromium) 2008/12/19 12:44:01 masm, assm, assem, asm? :-)
163 // Emits a code move event. 164 // Emits a code move event.
164 static void CodeMoveEvent(Address from, Address to); 165 static void CodeMoveEvent(Address from, Address to);
165 // Emits a code delete event. 166 // Emits a code delete event.
166 static void CodeDeleteEvent(Address from); 167 static void CodeDeleteEvent(Address from);
168 // Emits region delimiters
169 static void BeginCodeRegionEvent(CodeRegion* region,
170 Assembler* masm,
171 const char* name);
172 static void EndCodeRegionEvent(CodeRegion* region, Assembler* masm);
167 173
168 // ==== Events logged by --log-gc. ==== 174 // ==== Events logged by --log-gc. ====
169 // Heap sampling events: start, end, and individual types. 175 // Heap sampling events: start, end, and individual types.
170 static void HeapSampleBeginEvent(const char* space, const char* kind); 176 static void HeapSampleBeginEvent(const char* space, const char* kind);
171 static void HeapSampleEndEvent(const char* space, const char* kind); 177 static void HeapSampleEndEvent(const char* space, const char* kind);
172 static void HeapSampleItemEvent(const char* type, int number, int bytes); 178 static void HeapSampleItemEvent(const char* type, int number, int bytes);
173 179
174 static void SharedLibraryEvent(const char* library_path, 180 static void SharedLibraryEvent(const char* library_path,
175 unsigned start, 181 unsigned start,
176 unsigned end); 182 unsigned end);
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 friend class Profiler; 242 friend class Profiler;
237 friend class SlidingStateWindow; 243 friend class SlidingStateWindow;
238 friend class VMState; 244 friend class VMState;
239 #endif 245 #endif
240 }; 246 };
241 247
242 248
243 } } // namespace v8::internal 249 } } // namespace v8::internal
244 250
245 #endif // V8_LOG_H_ 251 #endif // V8_LOG_H_
OLDNEW
« src/assembler.h ('K') | « src/heap.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698