public void addMemoryUsage ( long memoryUsed ) { totalMemoryUsage . increaseByLong ( memoryUsed ) ; minMemoryUsage . setValueIfLesserThanCurrentAsLong ( memoryUsed ) ; maxMemoryUsage . setValueIfGreaterThanCurrentAsLong ( memoryUsed ) ; }
Adds memory used by script call