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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 const char* name, | 143 const char* name, |
144 Address start, unsigned size); | 144 Address start, unsigned size); |
145 void CodeCreateEvent(Logger::LogEventsAndTags tag, | 145 void CodeCreateEvent(Logger::LogEventsAndTags tag, |
146 int args_count, | 146 int args_count, |
147 Address start, unsigned size); | 147 Address start, unsigned size); |
148 void CodeMoveEvent(Address from, Address to); | 148 void CodeMoveEvent(Address from, Address to); |
149 void CodeDeleteEvent(Address from); | 149 void CodeDeleteEvent(Address from); |
150 void FunctionCreateEvent(Address alias, Address start); | 150 void FunctionCreateEvent(Address alias, Address start); |
151 void FunctionMoveEvent(Address from, Address to); | 151 void FunctionMoveEvent(Address from, Address to); |
152 void FunctionDeleteEvent(Address from); | 152 void FunctionDeleteEvent(Address from); |
| 153 void RegExpCodeCreateEvent(Logger::LogEventsAndTags tag, |
| 154 const char* prefix, String* name, |
| 155 Address start, unsigned size); |
153 | 156 |
154 // Tick sample events are filled directly in the buffer of the circular | 157 // Tick sample events are filled directly in the buffer of the circular |
155 // queue (because the structure is of fixed width, but usually not all | 158 // queue (because the structure is of fixed width, but usually not all |
156 // stack frame entries are filled.) This method returns a pointer to the | 159 // stack frame entries are filled.) This method returns a pointer to the |
157 // next record of the buffer. | 160 // next record of the buffer. |
158 INLINE(TickSample* TickSampleEvent()); | 161 INLINE(TickSample* TickSampleEvent()); |
159 | 162 |
160 private: | 163 private: |
161 union CodeEventsContainer { | 164 union CodeEventsContainer { |
162 CodeEventRecord generic; | 165 CodeEventRecord generic; |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 #endif // ENABLE_CPP_PROFILES_PROCESSOR | 262 #endif // ENABLE_CPP_PROFILES_PROCESSOR |
260 | 263 |
261 private: | 264 private: |
262 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); | 265 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); |
263 }; | 266 }; |
264 | 267 |
265 } } // namespace v8::internal | 268 } } // namespace v8::internal |
266 | 269 |
267 | 270 |
268 #endif // V8_CPU_PROFILER_H_ | 271 #endif // V8_CPU_PROFILER_H_ |
OLD | NEW |