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

Unified Diff: src/runtime/runtime.h

Issue 1688783005: Reland of [counters] moving runtime counters to counter.h (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/isolate.cc ('k') | src/runtime/runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 668021d876b086a60c7021d5b87bb38bcaa91e15..b5bcedb83aa118cdc53c0a5e1615741978d48341 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -1188,26 +1188,6 @@
};
-struct RuntimeCallStats {
-#define CALL_RUNTIME_COUNTER(name, nargs, ressize) \
- uint32_t Count_Runtime_##name; \
- base::TimeDelta Time_Runtime_##name;
- FOR_EACH_INTRINSIC(CALL_RUNTIME_COUNTER)
-#undef CALL_RUNTIME_COUNTER
-
- // Dummy counter for the unexpected stub miss.
- uint32_t Count_UnexpectedStubMiss;
- base::TimeDelta Time_UnexpectedStubMiss;
-
- bool in_runtime_call = false;
-
- void Reset();
- void Print(std::ostream& os);
-
- RuntimeCallStats() { Reset(); }
-};
-
-
class RuntimeState {
public:
unibrow::Mapping<unibrow::ToUppercase, 128>* to_upper_mapping() {
@@ -1226,14 +1206,11 @@
redirected_intrinsic_functions_.Reset(redirected_intrinsic_functions);
}
- RuntimeCallStats* runtime_call_stats() { return &runtime_call_stats_; }
-
private:
RuntimeState() {}
unibrow::Mapping<unibrow::ToUppercase, 128> to_upper_mapping_;
unibrow::Mapping<unibrow::ToLowercase, 128> to_lower_mapping_;
- RuntimeCallStats runtime_call_stats_;
base::SmartArrayPointer<Runtime::Function> redirected_intrinsic_functions_;
« no previous file with comments | « src/isolate.cc ('k') | src/runtime/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698