Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2013-03-06 18:09:57 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:51:33 +0300
commite182bfe7f7d03f8cc9d147ad5e33a8b2e8ce598a (patch)
tree08e39b144e7b2c3468d076f79e1f7757558624cb /map/benchmark_engine.cpp
parent59dd646653391d8d847b8ac11fa5dc785ec434f1 (diff)
Fix generating/showing benchmarks.
Diffstat (limited to 'map/benchmark_engine.cpp')
-rw-r--r--map/benchmark_engine.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/map/benchmark_engine.cpp b/map/benchmark_engine.cpp
index 64c51477d5..a5c6e3b63d 100644
--- a/map/benchmark_engine.cpp
+++ b/map/benchmark_engine.cpp
@@ -171,12 +171,14 @@ void BenchmarkEngine::SaveBenchmarkResults()
{
string resultsPath;
Settings::Get("BenchmarkResults", resultsPath);
- LOG(LINFO, (resultsPath));
- ofstream fout(GetPlatform().WritablePathForFile(resultsPath).c_str(), ios::app);
+ ofstream fout(GetPlatform().WritablePathForFile(resultsPath).c_str());
for (size_t i = 0; i < m_benchmarkResults.size(); ++i)
{
+ /// @todo Place correct version here from bundle (platform).
+
fout << GetPlatform().DeviceName() << " "
+ << "2.3.0" << " "
<< m_startTime << " "
<< m_benchmarkResults[i].m_name << " "
<< m_benchmarkResults[i].m_rect.minX() << " "