remove log

This commit is contained in:
Raffaele Mignone 2021-03-26 17:40:22 +01:00
parent 0637fcdba1
commit 8e4b6fe330
Signed by: norangebit
GPG Key ID: F5255658CB220573

8
main.c
View File

@ -48,8 +48,8 @@ int main() {
distribute_text(); distribute_text();
printf("%d -> input: %s\n", rank, private_text); //printf("%d -> input: %s\n", rank, private_text);
printf("%d -> text len: %d\n", rank, private_text_len); //printf("%d -> text len: %d\n", rank, private_text_len);
distribute_pattern(); distribute_pattern();
@ -67,7 +67,7 @@ int main() {
calculate_absolute_indices(match_number, matches); calculate_absolute_indices(match_number, matches);
printf("%d -> result number: %d\n", rank, match_number); //printf("%d -> result number: %d\n", rank, match_number);
collect_results(&match_number, matches); collect_results(&match_number, matches);
@ -105,7 +105,7 @@ void find_end(int residue, char *pattern, char *text, int **matches, int *match_
} }
void initialize() { void initialize() {
text = read_file("data/text.txt", &text_len); text = read_file("data/dante.txt", &text_len);
pattern = read_file("data/pattern.txt", &pattern_len); pattern = read_file("data/pattern.txt", &pattern_len);
printf("text: %s\n", text); printf("text: %s\n", text);