diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-20 22:58:48 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-20 22:58:48 +0100 |
commit | 10ef7b3f1dad2798af7c0c9e0311ea30c26bdf51 (patch) | |
tree | 56c7cead3bc383c95aa457886ce113dd55187f61 /content/content_protected.h | |
parent | 917714326645b0e02fb9a9714ebd897e8f9398e9 (diff) | |
download | netsurf-10ef7b3f1dad2798af7c0c9e0311ea30c26bdf51.tar.gz netsurf-10ef7b3f1dad2798af7c0c9e0311ea30c26bdf51.tar.bz2 |
update content wallclock timing to use monotonic time interface
Diffstat (limited to 'content/content_protected.h')
-rw-r--r-- | content/content_protected.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/content/content_protected.h b/content/content_protected.h index 148dc131e..1e7916290 100644 --- a/content/content_protected.h +++ b/content/content_protected.h @@ -126,9 +126,10 @@ struct content { struct content_rfc5988_link *links; /**< list of metadata links */ - unsigned int time; /**< Creation time, - if LOADING or READY, - otherwise total time. */ + /** Creation timestamp when LOADING or READY. + * Total time in ms when DONE. + */ + uint64_t time; uint64_t reformat_time; /**< Earliest time to attempt a period * reflow while fetching a page's objects. |