< prev index next >

src/java.management/share/classes/java/lang/management/ThreadMXBean.java

Print this page

        

*** 392,402 **** * If the implementation distinguishes between user mode time and system * mode time, the returned CPU time is the amount of time that * the current thread has executed in user mode or system mode. * * <p> ! * This is a convenient method for local management use and is * equivalent to calling: * <blockquote><pre> * {@link #getThreadCpuTime getThreadCpuTime}(Thread.currentThread().getId()); * </pre></blockquote> * --- 392,402 ---- * If the implementation distinguishes between user mode time and system * mode time, the returned CPU time is the amount of time that * the current thread has executed in user mode or system mode. * * <p> ! * This is a convenience method for local management use and is * equivalent to calling: * <blockquote><pre> * {@link #getThreadCpuTime getThreadCpuTime}(Thread.currentThread().getId()); * </pre></blockquote> *
*** 419,429 **** * in user mode in nanoseconds. * The returned value is of nanoseconds precision but * not necessarily nanoseconds accuracy. * * <p> ! * This is a convenient method for local management use and is * equivalent to calling: * <blockquote><pre> * {@link #getThreadUserTime getThreadUserTime}(Thread.currentThread().getId()); * </pre></blockquote> * --- 419,429 ---- * in user mode in nanoseconds. * The returned value is of nanoseconds precision but * not necessarily nanoseconds accuracy. * * <p> ! * This is a convenience method for local management use and is * equivalent to calling: * <blockquote><pre> * {@link #getThreadUserTime getThreadUserTime}(Thread.currentThread().getId()); * </pre></blockquote> *
< prev index next >