OLD | NEW |
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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 void StopProcessorIfLastProfile(const char* title); | 258 void StopProcessorIfLastProfile(const char* title); |
259 void StopProcessor(); | 259 void StopProcessor(); |
260 void ResetProfiles(); | 260 void ResetProfiles(); |
261 void LogBuiltins(); | 261 void LogBuiltins(); |
262 | 262 |
263 Isolate* isolate_; | 263 Isolate* isolate_; |
264 CpuProfilesCollection* profiles_; | 264 CpuProfilesCollection* profiles_; |
265 unsigned next_profile_uid_; | 265 unsigned next_profile_uid_; |
266 ProfileGenerator* generator_; | 266 ProfileGenerator* generator_; |
267 ProfilerEventsProcessor* processor_; | 267 ProfilerEventsProcessor* processor_; |
268 int saved_logging_nesting_; | 268 bool saved_is_logging_; |
269 bool need_to_stop_sampler_; | 269 bool need_to_stop_sampler_; |
270 bool is_profiling_; | 270 bool is_profiling_; |
271 | 271 |
272 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); | 272 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); |
273 }; | 273 }; |
274 | 274 |
275 } } // namespace v8::internal | 275 } } // namespace v8::internal |
276 | 276 |
277 | 277 |
278 #endif // V8_CPU_PROFILER_H_ | 278 #endif // V8_CPU_PROFILER_H_ |
OLD | NEW |