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

Unified Diff: bench/TimerData.h

Issue 286903025: PictureBenchmark JSON logging (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: More style fixes 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..50539c7522c52cb302a03a2a352ed7b57c4b9201 100644
--- a/bench/TimerData.h
+++ b/bench/TimerData.h
@@ -9,6 +9,7 @@
#ifndef TimerData_DEFINED
#define TimerData_DEFINED
+#include "SkJSONCPP.h"
#include "SkString.h"
#include "SkTemplates.h"
@@ -58,6 +59,9 @@ public:
const char* configName,
uint32_t timerFlags,
int itersPerTiming = 1);
+ Json::Value getJSON(uint32_t timerFlags,
+ Result result,
+ int itersPerTiming = 1);
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