debug::timestamp(n)
π debug::timestamp(n) β the debug narrative girlies' timestamping page β¨
okay so this is debug::timestamp, and it lives in the debug narrative manual. it's giving "tiny package, huge main character energy" β she does timestamps and she does them well. ππ
πΈ NAME πΈ
debug::timestamp β debug narrative β timestamping π
β¨ SYNOPSIS β¨
package require Tcl 8.5 9
package require debug::timestamp ?1.1?
package require debug ?1.0.7?
debug timestamp
so bestie, first you need Tcl 8.5 or 9 (yes, either one, we don't gatekeep), then you pull in debug::timestamp β version 1.1 is optional there, the ? means "whatever, default's fine" β and debug at 1.0.7 is also optional-ish in the same way. then you just call debug timestamp. periodt. π«Ά
π¦ DESCRIPTION π¦
π API π
debug timestampβ this method hands you back millisecond timing information since a baseline or since the last time you called it. no cap, that's the whole vibe. which means it's lowkey perfect in a tag-specific prefix, where it'll automatically provide caller info for every use of that tag without you doing anything. or, if you're a "only where I need it" kind of girl, you can drop it straight into a message when just a few specific spots need that level of detail. β¨
π BUGS, IDEAS, FEEDBACK π
ngl, this document and the package it describes? they will undoubtedly contain bugs and other problems. it's not a vibe, it's just reality. so if you find one, please report it in the debug category of the Tcllib Trackers at [http://core.tcl.tk/tcllib/reportlist]. and if you've got ideas for enhancements β for the package, for the docs, for either one, we don't care, we want them β report those too. π
when you're proposing code changes, please send unified diffs, i.e. the output of diff -u. that's the format, that's the rule, iykyk.
also note, and this one matters: attachments are strongly preferred over inlined patches. to attach something, go to the Edit form of the ticket right after you create it, then use the left-most button in the secondary navigation bar. that's the whole treasure map. πΊοΈ
π KEYWORDS π
debug, log, narrative, timestamps, trace π
π CATEGORY π
debugging, tracing, and logging
π COPYRIGHT π
Copyright (c) 200?, Colin McCormack, Wub Server Utilities
Copyright (c) 2012, Andreas Kupries <andreas_kupries@users.sourceforge.net>
okay and finally, the lil sign-off: this whole thing is tcllib, version 1.1, and it's the debug::timestamp(n) page β so if you ever forget where you got your millisecond lore from, it was here, bestie. slay, ate, no notes. πβ¨ππ¦πΈπ
π«Ά
π¦ where this page comes from
- fedora 43: tcllib 2.0-3.fc43 Β· TCL
- fedora 44: tcllib 2.0-4.fc44 Β· TCL
- nixos 26.05: tcllib 2.0
- nixpkgs unstable: tcllib 2.0
- Copyright (c) 2012, Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms