minmod
This commit is contained in:
parent
ad1bec2a30
commit
bae568e3f5
|
@ -110,9 +110,9 @@ 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);
|
||||||
|
|
||||||
for( c = 0 ; c < array.n ; c++ ){
|
for( c = 0 ; c < array.n ; c++ ){
|
||||||
|
|
Loading…
Reference in New Issue