Export (0) Print
Expand All

Time and Timestamp Formats

Updated: October 20, 2013

Applies To: Windows 8, Windows 8.1

Displays time and timespan formats on the command line.

xperf -help format

Various Xperf actions support options that take time and timespan parameters.

Time parameters are usually taken by -range options. Time can be read in one of the formats described in the following table.

 

1234[s|ms|us|ns]

1234 [seconds|milliseconds|microseconds|nanoseconds] since start of the trace file.

The default unit is microseconds.

2004/12/04:20:05:20.1234[+UTC] physical clock time.

All date and time components are mandatory except for the time zone. If no time zone is specified, time is assumed to be in the local time zone. (This is also the time format used by -a tracestats.)

noteNote
Only local time zone and UTC are currently supported.

Timespan parameters are usually taken by options accepting resolutions. Timespans can be read in one of the formats described in the following table.

 

1234[s|ms|us|ns]

1234 [seconds|milliseconds|microseconds|nanoseconds]

20:05:20.1234

20 hours 5 minutes 20 seconds 123.4 milliseconds. All time components are mandatory.

noteNote
Event timestamps in the Xperf trace dump are always presented in milliseconds.

Show:
© 2014 Microsoft