org.nakedobjects.metamodel.commons.profile.ProfilerSystem Maven / Gradle / Ivy
The newest version!
package org.nakedobjects.metamodel.commons.profile;
public class ProfilerSystem {
protected long memory() {
return Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory();
}
protected long time() {
return System.currentTimeMillis();
}
}
// Copyright (c) Naked Objects Group Ltd.