relativetimeprovider.js
No description.

File Location

/goog/debug/relativetimeprovider.js

Classes

goog.debug.RelativeTimeProvider
A simple object to keep track of a timestamp considered the start of something. The main use is for the logger system to maintain a start time that is occasionally reset. For example, in Gmail, we reset this relative time at the start of a user action so that timings are offset from the beginning of the action. This class also provides a singleton as the default behavior for most use cases is to share the same start time.

Public Protected Private

Global Functions

goog.debug.RelativeTimeProvider.getDefaultInstance() goog.debug.RelativeTimeProvider
No description.
Returns: goog.debug.RelativeTimeProvider  The default instance.
code »

Directory debug

File Reference