Report long units in milliseconds.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3467 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -255,7 +255,7 @@ public class PresentsDObjectMgr
|
|||||||
if (elapsed > 500000) {
|
if (elapsed > 500000) {
|
||||||
Log.warning("Unit '" + StringUtil.safeToString(unit) +
|
Log.warning("Unit '" + StringUtil.safeToString(unit) +
|
||||||
" [" + StringUtil.shortClassName(unit) +
|
" [" + StringUtil.shortClassName(unit) +
|
||||||
"]' ran for " + elapsed + "ms.");
|
"]' ran for " + (elapsed/1000) + "ms.");
|
||||||
}
|
}
|
||||||
|
|
||||||
// record the time spent processing this unit
|
// record the time spent processing this unit
|
||||||
|
|||||||
Reference in New Issue
Block a user