From 48a798fe089f695089c8553aa3775093bfa5d6cd Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (laptop)" <j.wuttke@fz-juelich.de>
Date: Mon, 25 Mar 2013 18:08:30 +0100
Subject: [PATCH] Move performance log to dev-tools/log/.

---
 App/src/TestPerformance.cpp                              | 4 ++--
 {Examples/Performance => dev-tools/log}/perf_history.txt | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
 rename {Examples/Performance => dev-tools/log}/perf_history.txt (98%)

diff --git a/App/src/TestPerformance.cpp b/App/src/TestPerformance.cpp
index 0652be2b2b6..e83b7844a5e 100644
--- a/App/src/TestPerformance.cpp
+++ b/App/src/TestPerformance.cpp
@@ -108,8 +108,8 @@ void TestPerformance::execute()
 void TestPerformance::write_performance()
 {
     // appending performance information to the file
-    std::string filename("perf_history.txt");
-    filename = std::string(Utils::FileSystem::GetHomePath())+std::string("./Examples/Performance/") + filename;
+    std::string filename = Utils::FileSystem::GetHomePath() +
+        "./dev-tools/log/perf_history.txt";
 
     std::ofstream file;
     file.open(filename.c_str(), std::ios_base::app);
diff --git a/Examples/Performance/perf_history.txt b/dev-tools/log/perf_history.txt
similarity index 98%
rename from Examples/Performance/perf_history.txt
rename to dev-tools/log/perf_history.txt
index b9feacca79d..8df5436801f 100644
--- a/Examples/Performance/perf_history.txt
+++ b/dev-tools/log/perf_history.txt
@@ -211,3 +211,5 @@
 2013-03-22 16:31:57 | o2         | linuxx8664gcc, 1600 MHz | 263158  | 10.8696 | 10.6952 | 3.38983 | 
 2013-03-23 13:01:20 | h4         | linuxx8664gcc, 2832 MHz | 183486  | 8.69565 | 8.54701 | 2.66667 | 
 2013-03-23 14:04:18 | l1         | linux, 1000 MHz         | 68493.1 | 3.38409 | 3.31675 | 0.97561 | 
+2013-03-25 18:03:03 | l1         | linux, 1833 MHz         | 68493.1 | 3.44828 | 3.37838 | 0.97561 | 
+2013-03-25 18:07:45 | l1         | linux, 1000 MHz         | 70922   | 3.4904  | 3.41297 | 0.97561 | 
-- 
GitLab