minmod
This commit is contained in:
parent
ad1bec2a30
commit
bae568e3f5
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue