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

Unified Diff: src/profiler/profile-generator.h

Issue 2461003002: [profiler] Emit runtime call stats into sampling profile (Closed)
Patch Set: Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: src/profiler/profile-generator.h
diff --git a/src/profiler/profile-generator.h b/src/profiler/profile-generator.h
index 253fce38ab3143e389cea8851e07888b7d693c99..f26f4f239c9b6b3a5c7326d69f9d7f6839c9691c 100644
--- a/src/profiler/profile-generator.h
+++ b/src/profiler/profile-generator.h
@@ -379,15 +379,17 @@ class CpuProfilesCollection {
class ProfileGenerator {
public:
- explicit ProfileGenerator(CpuProfilesCollection* profiles);
+ ProfileGenerator(Isolate* isolate, CpuProfilesCollection* profiles);
void RecordTickSample(const TickSample& sample);
CodeMap* code_map() { return &code_map_; }
private:
+ CodeEntry* FindEntry(void* address);
CodeEntry* EntryForVMState(StateTag tag);
+ Isolate* isolate_;
CpuProfilesCollection* profiles_;
CodeMap code_map_;

Powered by Google App Engine
This is Rietveld 408576698