| 968 | } |
| 969 | |
| 970 | void |
| 971 | ReducerOutputMgr::output_tail(ostream& out) |
| 972 | { |
| 973 | size_t i; |
| 974 | if (reducer->dump_block_entry || reducer->dump_all_block_info) { |
| 975 | out << "// all blocks: "; |
| 976 | // print from backward so the leaf blocks will be printed last |
| 977 | for (i=reducer->all_blks.size(); i>0; i--) { |
| 978 | out << StringUtils::int2str(reducer->all_blks[i-1]) << ", "; |
| 979 | } |
| 980 | out << endl; |
| 981 | } |
| 982 | if (reducer->drop_params && reducer->dump_dropped_params) { |
| 983 | out << "// all dropped parameters: "; |
| 984 | for (i=0; i<reducer->dropped_params.size(); i++) { |
| 985 | out << reducer->dropped_params[i]->name << ", "; |
| 986 | } |
| 987 | out << endl; |
| 988 | } |
| 989 | } |
| 990 | |
| 991 | void |
| 992 | ReducerOutputMgr::Output() |