|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71565 - sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/performance
From: mario.mulansky_at_[hidden]
Date: 2011-04-28 11:09:56
Author: mariomulansky
Date: 2011-04-28 11:09:55 EDT (Thu, 28 Apr 2011)
New Revision: 71565
URL: http://svn.boost.org/trac/boost/changeset/71565
Log:
msvc results
Added:
sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/performance/generic_rt_rk4.cpp (contents, props changed)
Text files modified:
sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/performance/results.dat | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Added: sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/performance/generic_rt_rk4.cpp
==============================================================================
--- (empty file)
+++ sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/performance/generic_rt_rk4.cpp 2011-04-28 11:09:55 EDT (Thu, 28 Apr 2011)
@@ -0,0 +1,42 @@
+/*
+ * generic_rt_rk4.cpp
+ *
+ * Created on: Apr 28, 2011
+ * Author: mario
+ */
+
+#include <iostream>
+#include <fstream>
+
+#include <boost/array.hpp>
+
+#include <boost/numeric/odeint/algebra/array_algebra.hpp>
+#include <boost/accumulators/accumulators.hpp>
+#include <boost/accumulators/statistics.hpp>
+#include <boost/timer.hpp>
+
+#define tab "\t"
+
+using namespace std;
+using namespace boost::accumulators;
+
+typedef accumulator_set<
+ double , stats< tag::mean , tag::variance >
+ > accumulator_type;
+
+ostream& operator<<( ostream& out , accumulator_type &acc )
+{
+ out << boost::accumulators::mean( acc ) << tab;
+// out << boost::accumulators::variance( acc ) << tab;
+ return out;
+}
+
+typedef boost::timer timer_type;
+
+
+typedef boost::array< double , 3 > state_type;
+
+int main()
+{
+
+}
Modified: sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/performance/results.dat
==============================================================================
--- sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/performance/results.dat (original)
+++ sandbox/odeint/branches/karsten/libs/numeric/odeint/ideas/fusion_runge_kutta/performance/results.dat 2011-04-28 11:09:55 EDT (Thu, 28 Apr 2011)
@@ -7,3 +7,4 @@
icc 12.0.2 | 0.95 | 0.87 | 1.09 | 1.12 | Corei7 870 @ 2.93 GHz
icc 11.1 | 1.11 | 0.98 | 1.19 | 1.28 | Xeon X5650 @ 2.67 GHz
gcc 4.4.1 | 1.19 | 1.22 | 1.24 | 1.97 | Core2Quad Q6600 @ 2.40GHz (vielleicht macht gsl einen schritt mit fehlerberechnung)
+msvc 9.0 | 5.84 | 6.30 | 5.55 | ---- | Via Nano @ 1.60 GHz
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk