-#if HAVE_SYS_TIMES_H
-#if HAVE_SYS_TIME_H
- if (trans_started)
- {
- gettimeofday(&end_time, 0);
- usec = (end_time.tv_sec - start_time.tv_sec) * 1000000.0 +
- end_time.tv_usec - start_time.tv_usec;
- times(&tms2);
- yaz_log (YLOG_LOG, "zebraidx times: %5.2f %5.2f %5.2f",
- usec / 1000000,
- (double) (tms2.tms_utime - tms1.tms_utime)/100,
- (double) (tms2.tms_stime - tms1.tms_stime)/100);
- }
-#endif
-#endif