1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
7 * This file defines time, time ticks and time delta types.
12 * The <code>PP_Time</code> type represents the "wall clock time" according
13 * to the browser and is defined as the number of seconds since the Epoch
14 * (00:00:00 UTC, January 1, 1970).
17 typedef double_t PP_Time
;
20 * A <code>PP_TimeTicks</code> value represents time ticks which are measured
21 * in seconds and are used for indicating the time that certain messages were
22 * received. In contrast to <code>PP_Time</code>, <code>PP_TimeTicks</code>
23 * does not correspond to any actual wall clock time and will not change
24 * discontinuously if the user changes their computer clock.
26 * The units are in seconds, but are not measured relative to any particular
27 * epoch, so the most you can do is compare two values.
30 typedef double_t PP_TimeTicks
;
33 * A <code>PP_TimeDelta</code> value represents a duration of time which is
34 * measured in seconds.
37 typedef double_t PP_TimeDelta
;