< prev index next >
src/java.base/share/classes/sun/misc/PerformanceLogger.java
Print this page
*** 49,62 ****
* simultaneously, the initTime for those applets will collide
* and the results may be undefined.
* <P>
* To automatically track startup performance in an app or applet,
* use the command-line parameter sun.perflog as follows:<BR>
* -Dsun.perflog[=file:<filename>]
* <BR>
* where simply using the parameter with no value will enable output
! * to the console and a value of "file:<filename>" will cause
* that given filename to be created and used for all output.
* <P>
* By default, times are measured using System.currentTimeMillis(). To use
* System.nanoTime() instead, add the command-line parameter:<BR>
-Dsun.perflog.nano=true
--- 49,64 ----
* simultaneously, the initTime for those applets will collide
* and the results may be undefined.
* <P>
* To automatically track startup performance in an app or applet,
* use the command-line parameter sun.perflog as follows:<BR>
+ * <pre>{@code
* -Dsun.perflog[=file:<filename>]
+ * }</pre>
* <BR>
* where simply using the parameter with no value will enable output
! * to the console and a value of "{@code file:<filename>}" will cause
* that given filename to be created and used for all output.
* <P>
* By default, times are measured using System.currentTimeMillis(). To use
* System.nanoTime() instead, add the command-line parameter:<BR>
-Dsun.perflog.nano=true
< prev index next >