# HG changeset patch # User masa # Date 1454143002 -32400 # Node ID 432d96650d55640fddf8c6d746f1a81066e1c636 # Parent c62fbe66f5496a082ab659318bf39971f9987196 add member variable diff -r c62fbe66f549 -r 432d96650d55 TaskManager/ManyCore/FileMapReduce.cc --- a/TaskManager/ManyCore/FileMapReduce.cc Fri Jan 29 19:51:40 2016 +0900 +++ b/TaskManager/ManyCore/FileMapReduce.cc Sat Jan 30 17:36:42 2016 +0900 @@ -376,6 +376,7 @@ } MapReducePtr w = (MapReducePtr)manager->allocate(sizeof(MapReduce)); + this->w = w; w->self = w; w->fmp = this; diff -r c62fbe66f549 -r 432d96650d55 TaskManager/ManyCore/FileMapReduce.h --- a/TaskManager/ManyCore/FileMapReduce.h Fri Jan 29 19:51:40 2016 +0900 +++ b/TaskManager/ManyCore/FileMapReduce.h Sat Jan 30 17:36:42 2016 +0900 @@ -71,6 +71,7 @@ int TASK_EXEC_DATA_PARALLEL; int TASK_PRINT; public: + MapReducePtr w; CPU_TYPE read_spe_cpu; int blocks; int division; // in Kbyte