This commit is contained in:
xdrm-brackets 2017-05-16 10:50:01 +02:00
parent ad1bec2a30
commit bae568e3f5
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ int main(int argc, char* argv[]){
unsigned int browsed = 0; unsigned int browsed = 0;
start = clock(); browsed = browse(&array, str, 0); stop = clock(); start = clock(); browsed = browse(&array, str, 0); stop = clock();
printf("browse '%s' : %d/%d\n", str, browsed, (int) strlen(str)); printf("browse '%s': %d/%d\n", str, browsed, (int) strlen(str));
printf(" (*) final_state: %d/%d\n", array.dCurrent, array.dFinal); printf(" (*) final_state: %d/%d\n", array.dCurrent, array.dFinal);
printf(" (*) in %d steps\n", array.steps); printf(" (*) in %d steps\n", array.steps);
printf(" (*) in %.3lf seconds\n\n", (double)(stop-start)/CLOCKS_PER_SEC); printf(" (*) in %.3lf seconds\n\n", (double)(stop-start)/CLOCKS_PER_SEC);