Skip to content
Tcl Source Code Update of ”Time Measurement”
Login

Update of ”Time Measurement”

Overview

Artifact ID: aed62e3823a3e6d2bcf728dcf052434fb5ad4995
Page Name:Time Measurement
Date: 2014-09-05 20:24:05
Original User: dgp
Parent: 024fbab90cdbd8cbd307abd87ef21021eb90aaee (diff)
Next 427a1adf6c40cf35b268df42c8ddb65f6760dda8
Content

Source Files

Public Interface

Private Interface

Directly Depends On Public Interface

Directly Depends On Private Interface of

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. The data above refers to just this lower level half module.

The private routines TclpGetDate, TclpGmtime, TclpLocaltime, and TclpGetSeconds are not called within Tcl, and continue to exist for the sake of entries in the private stub table. They are candidates for elimination. If they were eliminated, the dependence on Allocation and would also go away.