- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::Timestamp
::xo::Timestamp create ...
Class Relations
::xotcl::Class create ::xo::Timestamp \ -superclass ::xotcl::ObjectMethods (to be applied on instances)
diff (scripted)
lindex [:diffs] [expr {$start ? 0 : 1}]diffs (scripted)
set now [clock clicks -milliseconds] set ldiff [expr {[info exists :ltime] ? ($now-${:ltime}): 0}] set :ltime $now return [list [expr {$now-${:time}}] $ldiff]init (scripted)
set :time [clock clicks -milliseconds]report (scripted)
lassign [:diffs] start_diff last_diff :log "--$string (${start_diff}ms, diff ${last_diff}ms)"
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables