D 2014-09-05T19:59:46.202 L Time\sMeasurement P bf87417db5d0f512e2a213fe30949e2eeb5f4c50 U dgp W 1118

Source Files

* [/finfo?name=generic/tclClock.c|tclClock.c] * [/finfo?name=library/clock.tcl|clock.tcl] * [/finfo?name=unix/tclUnixTime.c|tclUnixTime.c] * [/finfo?name=win/tclWinTime.c|tclWinTime.c]

Public Interface

* Tcl_GetTime * Tcl_SetTimeProc * Tcl_QueryTimeProc

Private Interface

* TclpGetSeconds * TclpGetClicks * TclpGetWideClicks * TclpWideClicksToNanoseconds * TclpGetDate * TclpGmtime * TclpLocaltime

Directly Depends On Public Interface

* [Allocation] * [Threads] * [Event Loops]

Directly Depends On Private Interface of

* [Threads]

Discussion

It's best to think of this as two modules rather than one. The tclClock.c and clock.tcl files implement the builtin [[clock]] command. They depend on pretty much the entire core Tcl infrastructure, as well as the bundled package msgcat. The remaining files are about providing a common interface to platform-specific timekeeping facilities. Those are much more self-contained, and needed by more other modules. Z 9baaa85804b38847a685ec3b84d82d00