From 9f99802fae0c8632b048c19404efd6f255f8c47d Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Mon, 12 Nov 2018 18:31:00 -0300 Subject: [PATCH] show when timer stops --- src/sort.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sort.c b/src/sort.c index 4ad975d..aef6a40 100644 --- a/src/sort.c +++ b/src/sort.c @@ -232,11 +232,12 @@ int main (int argc, char **argv) { // quick sort } else if (algoritmo == 2) { - fprintf(stdout, "Bubble sort corriendo...\n"); + fprintf(stdout, "Bubble sort corriendo... "); fflush(stdout); start_timer(); bubble_sort(array, n); stop_timer(); + fprintf(stdout, "done\n"); } else if (algoritmo == 3) { // bitonic sort