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

Unified Diff: src/IceThreading.h

Issue 1147023007: Subzero: Basic Block Profiler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Adds Basic Block Profiling. Created 5 years, 6 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/IceThreading.h
diff --git a/src/IceThreading.h b/src/IceThreading.h
index 9ae3b670328525aebef538fe24cf87511b03dd43..b88685c0a96a2aba25e95f179276d75a469f95da 100644
--- a/src/IceThreading.h
+++ b/src/IceThreading.h
@@ -194,12 +194,18 @@ public:
std::unique_ptr<Assembler> getAsm();
std::unique_ptr<Cfg> getCfg();
+ void setProfilerInits(std::unique_ptr<VariableDeclarationList> ProfInits);
+ std::unique_ptr<VariableDeclarationList> getProfilerInits();
+
private:
const uint32_t Sequence;
const ItemKind Kind;
std::unique_ptr<VariableDeclarationList> GlobalInits;
std::unique_ptr<Assembler> Function;
std::unique_ptr<Cfg> RawFunc;
+
+ // ProfilerInits holds the initializers for an ProfilerInfo[].
Jim Stichnoth 2015/06/08 23:45:32 "for a" ?
John 2015/06/09 15:36:20 No longer relevant. I add the globals to GlobalIni
+ std::unique_ptr<VariableDeclarationList> ProfilerInits;
};
} // end of namespace Ice

Powered by Google App Engine
This is Rietveld 408576698