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

Unified Diff: bench/TimerData.h

Issue 304613002: Reland https://codereview.chromium.org/286903025 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Diagnostic patch: removed header from gyp entry Created 6 years, 7 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 | « bench/ResultsWriter.cpp ('k') | bench/TimerData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/TimerData.h
diff --git a/bench/TimerData.h b/bench/TimerData.h
index ed0ee473c18133e4f6a5372bccad48c0caa475f1..8f6a7194aba8ce5fd91a71a17872514d46fd28bc 100644
--- a/bench/TimerData.h
+++ b/bench/TimerData.h
@@ -12,6 +12,16 @@
#include "SkString.h"
#include "SkTemplates.h"
+#ifdef SK_BUILD_FOR_WIN
+ #pragma warning(push)
+ #pragma warning(disable : 4530)
+#endif
+
+#include "SkJSONCPP.h"
+
+#ifdef SK_BUILD_FOR_WIN
+ #pragma warning(pop)
+#endif
class BenchTimer;
@@ -58,6 +68,11 @@ public:
const char* configName,
uint32_t timerFlags,
int itersPerTiming = 1);
+#ifdef SK_BUILD_JSON_WRITER
+ Json::Value getJSON(uint32_t timerFlags,
+ Result result,
+ int itersPerTiming = 1);
+#endif // SK_BUILD_JSON_WRITER
private:
int fMaxNumTimings;
« no previous file with comments | « bench/ResultsWriter.cpp ('k') | bench/TimerData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698