Skip to content

Commit ff51b2c

Browse files
committedApr 6, 2013
qgis_bench revision log
1 parent b1c0963 commit ff51b2c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎tests/bench/qgsbench.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
#include <QTextStream>
3535
#include <QTime>
3636

37+
#ifndef QGSVERSION
38+
#include "qgsversion.h"
39+
#endif
3740
#include "qgsbench.h"
3841
#include "qgslogger.h"
3942
#include "qgsmaplayerregistry.h"
@@ -208,6 +211,7 @@ void QgsBench::render()
208211
}
209212

210213
mLogMap.insert( "iterations", mTimes.size() );
214+
mLogMap.insert( "revision", QGSVERSION );
211215

212216
// Calc stats: user, sys, total
213217
double min[4], max[4];

0 commit comments

Comments
 (0)
Please sign in to comment.