Divide the millis by 1000 to get seconds instead of multiplying the numerator

and blowing an int.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5749 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2009-04-27 22:17:36 +00:00
parent da4159c665
commit 7e777e9c72
@@ -112,7 +112,7 @@ public class PresentsDObjectMgr
report.append("- Max queue size: ").append(_current.maxQueueSize).append("\n");
report.append("- Units executed: ").append(_current.eventCount);
if (elapsed != 0) {
report.append(" (").append(1000*_current.eventCount/elapsed).append("/s)\n");
report.append(" (").append(_current.eventCount/(elapsed/1000)).append("/s)\n");
} else {
report.append(" (inf/s)\n");
}