From dcfc70808ab9680a8caed6ff0fb98f978fbbef97 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 17 Oct 2017 12:40:03 +0200 Subject: Split up dummyresourcewritebenchmark into datasets that we want to display. --- tests/hawd/dataset.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/hawd/dataset.h') diff --git a/tests/hawd/dataset.h b/tests/hawd/dataset.h index 9660709..f24cacf 100644 --- a/tests/hawd/dataset.h +++ b/tests/hawd/dataset.h @@ -28,6 +28,7 @@ #include #include +#include namespace HAWD { @@ -52,6 +53,7 @@ public: QDateTime timestamp() const; void annotate(const QString ¬e); void setCommitHash(const QString &hash); + void setTimestamp(const QDateTime &dt); qint64 key() const; QByteArray toBinary() const; QString toString(const QStringList &cols = QStringList(), int standardCols = All, const QString &seperator = "|") const; @@ -66,6 +68,7 @@ public: QHash m_data; QString m_annotation; QString m_commitHash; + QDateTime m_timeStamp; const Dataset *m_dataset; friend class Dataset; }; @@ -82,7 +85,6 @@ public: void eachRow(const std::function &resultHandler); Row row(qint64 key = 0); Row lastRow(); - //TODO: row cursor private: DatasetDefinition m_definition; -- cgit v1.2.3