What does "timestamp" in "Network.requestWillBeSent" mean?

921 views
Skip to first unread message

muzuiget

unread,
Nov 14, 2017, 12:26:55 AM11/14/17
to Google Chrome Developer Tools
Hi guys.

I am reading Chrome DevTools Protocol spec, and I dumped some data from DevTools.

There a sample data from Network.requestWillBeSent, I notice there are two time fields

timestamp
    Timestamp Timestamp.
wallTime
    Timestamp UTC Timestamp. Experimental

the sample data is

{
        "timestamp": 957711.609563,
        "wallTime": 1510317479.05768
}

I know "wallTime" is a Unix time format, But "timestamp" field value is "957711.609563", What does it mean?

Kayce Basques

unread,
Nov 16, 2017, 6:38:53 PM11/16/17
to Google Chrome Developer Tools
Paul Irish pointed me to this:


Which describes the data type of the property as MonotonicTime:

"Monotonically increasing time in seconds since an arbitrary point in the past."

But I'm not sure what this "arbitrary point in the past" is...

Kayce Basques

unread,
Nov 16, 2017, 6:48:22 PM11/16/17
to Google Chrome Developer Tools
DevTools team told me that MonotonicTime is useful for comparing events to other timestamps that are using MonotonicTime. The beginning time is irrelevant, because you're just using it to calculate delta.


Larry

unread,
Nov 16, 2017, 9:18:35 PM11/16/17
to google-chrome-...@googlegroups.com
[test reply via email]
See this for elapsed time to epoch time conversion: 




On Thursday, November 16, 2017 3:48 PM, 'Kayce Basques' via Google Chrome Developer Tools <google-chrome-...@googlegroups.com> wrote:


DevTools team told me that MonotonicTime is useful for comparing events to other timestamps that are using MonotonicTime. The beginning time is irrelevant, because you're just using it to calculate delta.


--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/e2908c1c-7d5e-47c1-863b-864104de8453%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


muzuiget

unread,
Nov 30, 2017, 1:59:08 AM11/30/17
to Google Chrome Developer Tools
Thank your for your explaintion.

在 2017年11月17日星期五 UTC+8上午7:48:22,Kayce Basques写道:
Reply all
Reply to author
Forward
0 new messages