Skip to content

Commit

Permalink
Remove CmpE300 debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
enescakir committed Dec 13, 2018
1 parent 9f9f494 commit 3f8b0f8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmpe300/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ int main(int argc, char *argv[]) {
}
world.send(i, 1, substrings);
}
cout << "Master start" << endl;

// Collect mapped word struct vectors from slaves
vector<Word> words;
Expand Down Expand Up @@ -157,12 +156,10 @@ int main(int argc, char *argv[]) {
for (int i = 0; i < reduced_words.size(); i++) {
cout << reduced_words[i].text << " " << reduced_words[i].count << endl;
}
cout << "Master end" << endl;
} else {
/**
* Slave processors works
*/
cout << "Client start" << endl;

// Receive raw string vector
vector<string> strings;
Expand All @@ -185,8 +182,6 @@ int main(int argc, char *argv[]) {

// Send sorted vectors to master
world.send(MASTER_PROCESSOR, 4, words_to_sort);
cout << "Client end" << endl;

}
return 0;
}

0 comments on commit 3f8b0f8

Please sign in to comment.