- if ((i % 10000) == 0) {
- printf(" - created %ld (time %ld total %ld last %ld)\n",
- i, time(0), time(0) - start, time(0) - last);
- last = time(NULL);
+ if (i && (i % 10000) == 0) {
+ printf(" - created %ld (time %.2f total %.2f last %.2f)"
+ "\n", i, now(), now() - start, now() - last);
+ last = now();