OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 static void CallbackEvent(String* name, Address entry_point); | 244 static void CallbackEvent(String* name, Address entry_point); |
245 static void CodeCreateEvent(Logger::LogEventsAndTags tag, | 245 static void CodeCreateEvent(Logger::LogEventsAndTags tag, |
246 Code* code, const char* comment); | 246 Code* code, const char* comment); |
247 static void CodeCreateEvent(Logger::LogEventsAndTags tag, | 247 static void CodeCreateEvent(Logger::LogEventsAndTags tag, |
248 Code* code, String* name); | 248 Code* code, String* name); |
249 static void CodeCreateEvent(Logger::LogEventsAndTags tag, | 249 static void CodeCreateEvent(Logger::LogEventsAndTags tag, |
250 Code* code, String* name, | 250 Code* code, String* name, |
251 String* source, int line); | 251 String* source, int line); |
252 static void CodeCreateEvent(Logger::LogEventsAndTags tag, | 252 static void CodeCreateEvent(Logger::LogEventsAndTags tag, |
253 Code* code, int args_count); | 253 Code* code, int args_count); |
| 254 static void CodeMovingGCEvent() {} |
254 static void CodeMoveEvent(Address from, Address to); | 255 static void CodeMoveEvent(Address from, Address to); |
255 static void CodeDeleteEvent(Address from); | 256 static void CodeDeleteEvent(Address from); |
256 static void FunctionCreateEvent(JSFunction* function); | 257 static void FunctionCreateEvent(JSFunction* function); |
257 // Reports function creation in case we had missed it (e.g. | 258 // Reports function creation in case we had missed it (e.g. |
258 // if it was created from compiled code). | 259 // if it was created from compiled code). |
259 static void FunctionCreateEventFromMove(JSFunction* function, | 260 static void FunctionCreateEventFromMove(JSFunction* function, |
260 HeapObject* source); | 261 HeapObject* source); |
261 static void FunctionMoveEvent(Address from, Address to); | 262 static void FunctionMoveEvent(Address from, Address to); |
262 static void FunctionDeleteEvent(Address from); | 263 static void FunctionDeleteEvent(Address from); |
263 static void GetterCallbackEvent(String* name, Address entry_point); | 264 static void GetterCallbackEvent(String* name, Address entry_point); |
(...skipping 28 matching lines...) Expand all Loading... |
292 #endif // ENABLE_LOGGING_AND_PROFILING | 293 #endif // ENABLE_LOGGING_AND_PROFILING |
293 | 294 |
294 private: | 295 private: |
295 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); | 296 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); |
296 }; | 297 }; |
297 | 298 |
298 } } // namespace v8::internal | 299 } } // namespace v8::internal |
299 | 300 |
300 | 301 |
301 #endif // V8_CPU_PROFILER_H_ | 302 #endif // V8_CPU_PROFILER_H_ |
OLD | NEW |