Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55330 - sandbox/libs/mapreduce/test
From: cdm.henderson_at_[hidden]
Date: 2009-07-31 19:05:55


Author: chenderson
Date: 2009-07-31 19:05:54 EDT (Fri, 31 Jul 2009)
New Revision: 55330
URL: http://svn.boost.org/trac/boost/changeset/55330

Log:
Updated test application to output to disk
Text files modified:
   sandbox/libs/mapreduce/test/mrtest.cpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: sandbox/libs/mapreduce/test/mrtest.cpp
==============================================================================
--- sandbox/libs/mapreduce/test/mrtest.cpp (original)
+++ sandbox/libs/mapreduce/test/mrtest.cpp 2009-07-31 19:05:54 EDT (Fri, 31 Jul 2009)
@@ -174,10 +174,13 @@
 #else
   , boost::mapreduce::null_combiner
 #endif
-#ifndef USE_IN_MEMORY_INTERMEDIATES
   , boost::mapreduce::datasource::directory_iterator<wordcount::map_task_type>
+#ifdef USE_IN_MEMORY_INTERMEDIATES
   , boost::mapreduce::intermediates::local_disk<wordcount::map_task_type, wordcount::reduce_task>
+#else
+ , boost::mapreduce::intermediates::in_memory<wordcount::map_task_type, wordcount::reduce_task>
 #endif
+ , boost::mapreduce::intermediates::reduce_file_output<wordcount::map_task_type, wordcount::reduce_task>
> job;
 
 


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