RFR: 7039: Timestamp granularity too coarse [v4]
Marcus Hirt
hirt at openjdk.java.net
Thu Jan 28 11:56:42 UTC 2021
On Thu, 28 Jan 2021 07:28:58 GMT, Suchita Chaturvedi <schaturvedi at openjdk.org> wrote:
>> As part of this enhancement request, user can see the timestamps down to fraction of a second.
>> This will solve the problem for all views, including Event Browser, Properties where most of the records are differentiated by fraction of seconds but since the timestamp shown is only till second, the difference is not visible on UI.
>>
>> For ex: If the End Time of Event is listed as below, the difference is clearly visible
>> 
>
> Suchita Chaturvedi has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix spotless check failure
Changes requested by hirt (Lead).
core/org.openjdk.jmc.common/src/main/java/org/openjdk/jmc/common/unit/UnitLookup.java line 520:
> 518: SimpleDateFormat sdf = (SimpleDateFormat) df;
> 519: String pattern = sdf.toPattern();
> 520: String newPattern = pattern.replaceFirst("s{2,4}", "ss:SSS"); //$NON-NLS-1$ //$NON-NLS-2$
I think normally a dot is used for the ms part.
-------------
PR: https://git.openjdk.java.net/jmc/pull/201
More information about the jmc-dev
mailing list