show when timer stops
This commit is contained in:
parent
ff70e7df27
commit
9f99802fae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user