Searched defs:duration (Results 1 - 16 of 16) sorted by relevance

/openjdk7/hotspot/test/runtime/7196045/
H A DTest7196045.java40 public static long duration = 1000 * 60 * 2; field in class:Test7196045
60 long endTime = System.currentTimeMillis() + duration;
/openjdk7/jdk/src/share/classes/java/rmi/dgc/
H A DLease.java28 * A lease contains a unique VM identifier and a lease duration. A
49 * Constructs a lease with a specific VMID and lease duration. The
52 * @param duration lease duration
54 public Lease(VMID id, long duration) argument
57 value = duration;
70 * Returns the lease duration.
71 * @return lease duration
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1MMUTracker.hpp80 inline double duration() { return _end_time - _start_time; } function in class:VALUE_OBJ_CLASS_SPEC
H A Dg1MMUTracker.cpp70 gc_time += elem->duration();
82 double duration = end - start; local
176 diff -= elem->duration();
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DDurationDV.java33 * Validator for <duration> datatype (W3C Schema Datatypes)
46 // order-relation on duration is a partial order. The dates below are used to
48 // duration x and y is x<=y iff s+x<=s+y
49 // see 3.2.6 duration W3C schema datatype specs
62 throw new InvalidDatatypeValueException("cvc-datatype-valid.1.2.1", new Object[]{content, "duration"});
67 * Parses, validates and computes normalized version of duration object
69 * @param str The lexical representation of duration object PnYn MnDTnH nMnS
91 //negative duration
194 * Compares 2 given durations. (refer to W3C Schema Datatypes "3.2.6 duration")
196 * @param date1 Unnormalized duration
276 addDuration(DateTimeData date, DateTimeData addto, DateTimeData duration) argument
[all...]
/openjdk7/jaxp/src/javax/xml/datatype/
H A DDuration.java47 * A negative sign indicates a negative duration.</p>
50 * to use for the duration datatype of XML Schema 1.0 with
59 * <li>A==B (A and B are of the same duration)
64 * The {@link #compare(Duration duration)} method implements this
78 * <p>Also, division of a duration by a number is not provided because
232 * Returns the sign of this duration in -1,0, or 1.
235 * -1 if this duration is negative, 0 if the duration is zero,
236 * and 1 if the duration is positive.
326 * <p>Returns the length of the duration i
771 compare(final Duration duration) argument
799 isLongerThan(final Duration duration) argument
821 isShorterThan(final Duration duration) argument
863 equals(final Object duration) argument
[all...]
H A DXMLGregorianCalendar.java876 * <p>Add <code>duration</code> to this instance.</p>
885 * @param duration Duration to add to this <code>XMLGregorianCalendar</code>.
887 * @throws NullPointerException when <code>duration</code> parameter is <code>null</code>.
889 public abstract void add(Duration duration); argument
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DTimeUnit.java177 * Convert the given time duration in the given unit to this
189 * @param sourceDuration the time duration in the given <tt>sourceUnit</tt>
191 * @return the converted duration in this unit,
200 * Equivalent to <tt>NANOSECONDS.convert(duration, this)</tt>.
201 * @param duration the duration
202 * @return the converted duration,
207 public long toNanos(long duration) { argument
212 * Equivalent to <tt>MICROSECONDS.convert(duration, this)</tt>.
213 * @param duration th
219 toMicros(long duration) argument
231 toMillis(long duration) argument
243 toSeconds(long duration) argument
256 toMinutes(long duration) argument
269 toHours(long duration) argument
280 toDays(long duration) argument
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DgcTrace.hpp82 void set_sum_of_pauses(jlong duration) { _sum_of_pauses = duration; } argument
85 void set_longest_pause(jlong duration) { _longest_pause = duration; } argument
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DAnimationController.java111 //Vista theme might have transition duration for toolbar buttons
126 long duration;
131 duration = 1000;
133 duration = XPStyle.getXP().getThemeTransitionDuration(
139 controller.startAnimation(c, part, oldState, newState, duration);
145 // defined by states. It seems that theme has duration defined
327 //animation duration in nanoseconds
328 private final long duration; field in class:AnimationController.AnimationState
352 this.duration = milliseconds * 1000000;
366 / duration;
[all...]
/openjdk7/jdk/src/windows/transport/shmem/
H A Dshmem_md.c378 sysSleep(long duration) { argument
379 Sleep((DWORD)duration);
/openjdk7/jdk/test/java/util/zip/
H A DFlaterCriticalArray.java109 private void inform(String inOut, long duration, int length) { argument
110 debug(name, inOut, duration, length);
/openjdk7/jdk/src/share/classes/sun/rmi/transport/
H A DDGCClient.java86 /** lease duration to request (usually ignored by server) */
157 private static long computeRenewTime(long grantTime, long duration) { argument
160 * a longer fraction of the lease duration for longer leases.
162 return grantTime + (duration / 2);
362 long duration = lease.getValue();
364 long newRenewTime = computeRenewTime(startTime, duration);
365 long newExpirationTime = startTime + duration;
384 * the start time and duration of this attempt for
532 * Wait for the duration calculated above for any of
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/
H A DXMLGregorianCalendarImpl.java2003 * <p>Add <code>duration</code> to this instance.<\p>
2012 * @param duration Duration to add to this <code>XMLGregorianCalendar</code>.
2014 * @throws NullPointerException when <code>duration</code> parameter is <code>null</code>.
2016 public void add(Duration duration) { argument
2024 * Given a dateTime S and a duration D, specifies how to compute a
2026 * duration D i.e. E = S + D.
2051 int signum = duration.getSign();
2059 BigInteger dMonths = sanitize(duration.getField(DatatypeConstants.MONTHS), signum);
2073 BigInteger dYears = sanitize(duration.getField(DatatypeConstants.YEARS), signum);
2098 BigDecimal dSeconds = DurationImpl.sanitize((BigDecimal) duration
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A DThemeReader.cpp814 DWORD duration = 0; local
816 stateFrom, stateTo, propId, &duration))) {
817 rv = duration;
/openjdk7/hotspot/src/share/vm/services/
H A Dmanagement.cpp166 void Management::record_vm_startup_time(jlong begin, jlong duration) { argument
172 _end_vm_creation_time->set_value(begin + duration);

Completed in 63 milliseconds