}
// timing and message to browser
long overall = System.currentTimeMillis() - startTime;
- long ppm = pageCount / (overall/60000);
+ long pagesPerMinute=0, perMinute = overall/60000;
+ if (perMinute >0) pagesPerMinute = pageCount / perMinute;
+
logHTML(htmlout, "Producer.Content finished producing: " +
- overall + " ms for "+ pageCount+" Pages = " +ppm + " pages/min");
+ overall + " ms for "+ pageCount+" Pages = " +pagesPerMinute + " pages/min");
logHTML(htmlout, "Back to <a href=\""+actionRoot+"\">Admin-Startage</a>");
/** @todo why no syncing here? */