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

Side by Side Diff: src/cpu-profiler.h

Issue 6712062: Fix DevTools CPU profiler after isolates merge. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 9 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/cpu-profiler.cc » ('j') | src/platform-linux.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 CpuProfile* StopCollectingProfile(const char* title); 276 CpuProfile* StopCollectingProfile(const char* title);
277 CpuProfile* StopCollectingProfile(Object* security_token, String* title); 277 CpuProfile* StopCollectingProfile(Object* security_token, String* title);
278 void StopProcessorIfLastProfile(const char* title); 278 void StopProcessorIfLastProfile(const char* title);
279 279
280 CpuProfilesCollection* profiles_; 280 CpuProfilesCollection* profiles_;
281 unsigned next_profile_uid_; 281 unsigned next_profile_uid_;
282 TokenEnumerator* token_enumerator_; 282 TokenEnumerator* token_enumerator_;
283 ProfileGenerator* generator_; 283 ProfileGenerator* generator_;
284 ProfilerEventsProcessor* processor_; 284 ProfilerEventsProcessor* processor_;
285 int saved_logging_nesting_; 285 int saved_logging_nesting_;
286 bool need_to_stop_sampler_;
286 Atomic32 is_profiling_; 287 Atomic32 is_profiling_;
287 288
288 #else 289 #else
289 static INLINE(bool is_profiling()) { return false; } 290 static INLINE(bool is_profiling()) { return false; }
290 #endif // ENABLE_LOGGING_AND_PROFILING 291 #endif // ENABLE_LOGGING_AND_PROFILING
291 292
292 private: 293 private:
293 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); 294 DISALLOW_COPY_AND_ASSIGN(CpuProfiler);
294 }; 295 };
295 296
296 } } // namespace v8::internal 297 } } // namespace v8::internal
297 298
298 299
299 #endif // V8_CPU_PROFILER_H_ 300 #endif // V8_CPU_PROFILER_H_
OLDNEW
« no previous file with comments | « no previous file | src/cpu-profiler.cc » ('j') | src/platform-linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698