Searched refs:elapsed (Results 1 - 12 of 12) sorted by relevance

/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/
H A DTimingDelta.java58 public long elapsed() method in class:TimingDelta
66 final long elapsed = now - mLastNanos;
68 return elapsed;
73 return elapsed() / 1000;
78 return elapsed() / (1000 * 1000);
H A DPrintMillis.java44 Useful for printing elapsed timings out. Example:
67 Print out the milliseconds that have elapsed since the last call.
71 final long elapsed = System.currentTimeMillis() - mLast;
74 System.out.println((msg == null ? "" : msg) + ": " + elapsed);
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/base/
H A DNotificationPerformanceTest.java92 final long elapsed =
95 final float rate = (elapsed == 0) ? (float) 0.0 : (1000 * ((float) COUNT / (float) elapsed));
96 final String rateString = (elapsed == 0) ? "N/A" : "" + (int) rate;
98 System.out.println("Millis to emit " + COUNT + " Notifications: " + elapsed +
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/deployment/
H A DDeploymentTracing.java114 long elapsed() { method in class:DeploymentTracing.Event
128 ps.println("Mark " + mark.toString() + " at " + elapsed());
141 ps.println("Container : " + name + " Mark " + mark.toString() + " at " + elapsed());
154 ps.println("Module " + moduleName + " Mark " + mark.toString() + " at " + elapsed());
161 public long elapsed() { method in class:DeploymentTracing
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/
H A DTestRunner.java130 elapsed(final long start) { method in class:TestRunner
150 final long elapsed = elapsed(start);
165 //printVerbose( "GetMBeanInfo time for " + id + " = " + elapsed );
168 final long elapsed = System.currentTimeMillis() - startAll;
169 return (elapsed);
202 final long elapsed = testGetMBeanInfoSpeed(conn, objectNames);
205 " = " + elapsed + "ms");
H A DAMXTestBase.java463 final long elapsed = now() - start;
465 " candidates in " + elapsed + "ms");
506 final long elapsed = now() - start;
508 " candidates in " + elapsed + "ms");
H A DTestMain.java862 final long elapsed = System.currentTimeMillis() - start;
863 println("Time to run tests: " + (elapsed / 1000) + " seconds" );
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/mbean/
H A DSystemInfoImpl.java147 final long elapsed = System.currentTimeMillis() - LAST_REFRESH;
148 if (elapsed > REFRESH_MILLIS) {
H A DDomainRootImpl.java252 final long elapsed = System.currentTimeMillis() - env.getStartupContext().getCreationTime();
253 final Duration duration = new Duration(elapsed);
256 elapsed, duration.toString()
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/client/
H A DProxyTest.java216 final long elapsed = now() - start;
217 //printVerbose( "testProxyGetters for: " + Util.getObjectName( proxy ) + " = " + elapsed );
299 final long elapsed = now() - start;
302 assert (elapsed < 300 * 10 );
/glassfish-3.1.2/deployment/admin/src/main/java/org/glassfish/deployment/admin/
H A DDeployCommand.java471 timing.elapsed()));
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/core/
H A DAMXValidator.java1168 final long elapsed = System.currentTimeMillis() - start;
1169 //debug( "Query time: " + elapsed);

Completed in 58 milliseconds