878 int elhours = (eltime - day_secs) / secs_per_hour; |
878 int elhours = (eltime - day_secs) / secs_per_hour; |
879 int hour_secs = elhours * secs_per_hour; |
879 int hour_secs = elhours * secs_per_hour; |
880 int elmins = (eltime - day_secs - hour_secs) / secs_per_min; |
880 int elmins = (eltime - day_secs - hour_secs) / secs_per_min; |
881 int minute_secs = elmins * secs_per_min; |
881 int minute_secs = elmins * secs_per_min; |
882 int elsecs = (eltime - day_secs - hour_secs - minute_secs); |
882 int elsecs = (eltime - day_secs - hour_secs - minute_secs); |
883 st->print_cr(" elapsed time: %d.%06d seconds (%dd %dh %dm %ds)", eltime, eltimeFraction, eldays, elhours, elmins, elsecs); |
883 st->print_cr("elapsed time: %d.%06d seconds (%dd %dh %dm %ds)", eltime, eltimeFraction, eldays, elhours, elmins, elsecs); |
884 } |
884 } |
885 |
885 |
886 // moved from debug.cpp (used to be find()) but still called from there |
886 // moved from debug.cpp (used to be find()) but still called from there |
887 // The verbose parameter is only set by the debug code in one case |
887 // The verbose parameter is only set by the debug code in one case |
888 void os::print_location(outputStream* st, intptr_t x, bool verbose) { |
888 void os::print_location(outputStream* st, intptr_t x, bool verbose) { |