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

Unified Diff: src/IceTimerTree.h

Issue 640713003: Subzero: Improve the output with the --timing-focus=xxx option. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: 80-col Created 6 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
« no previous file with comments | « src/IceGlobalContext.cpp ('k') | src/IceTimerTree.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTimerTree.h
diff --git a/src/IceTimerTree.h b/src/IceTimerTree.h
index 289ea2deecee780cb35e58dcdc235a466f7f0ebe..1f1458297c8ec5b0bd22e9b6dc940847932a8c79 100644
--- a/src/IceTimerTree.h
+++ b/src/IceTimerTree.h
@@ -52,15 +52,17 @@ public:
};
TimerStack(const IceString &Name);
TimerIdT getTimerID(const IceString &Name);
+ void setName(const IceString &NewName) { Name = NewName; }
void push(TimerIdT ID);
void pop(TimerIdT ID);
+ void reset();
void dump(Ostream &Str, bool DumpCumulative);
private:
void update();
static double timestamp();
- const IceString Name;
- const double FirstTimestamp;
+ IceString Name;
+ double FirstTimestamp;
double LastTimestamp;
uint64_t StateChangeCount;
// IDsIndex maps a symbolic timer name to its integer ID.
« no previous file with comments | « src/IceGlobalContext.cpp ('k') | src/IceTimerTree.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698