summaryrefslogtreecommitdiff
path: root/Src/Modules/zprof.c
AgeCommit message (Collapse)AuthorFilesLines
2024-12-2653257: use monotonic clock where appropriatedana1-10/+9
update the following features to use the monotonic clock for calculating time deltas and intervals: * MAILCHECK parameter * PERIOD parameter * SECONDS parameter * %(nS.t.f) prompt-expansion sequence * time built-in's elapsed time and cpu % values * zsh/zftp ZFTP_TMOUT parameter * zsh/zprof timings also use CLOCK_MONOTONIC_RAW instead of CLOCK_MONOTONIC on macOS
2024-03-1852750: remove ansi2knr support for old pre-ansi K&R compilersOliver Kiddle1-3/+3
2020-05-2845923 (with memory leak fixed, cf. 45924): zprof: Don't tally all anonymous ↵Daniel Shahaf1-3/+28
functions as though they were a single function named "(anon)". Before: % zmodload zsh/zprof % () : % () : % zprof num calls time self name ----------------------------------------------------------------------------------- 1) 2 0.08 0.04 100.00% 0.08 0.04 100.00% (anon) After: % zmodload zsh/zprof % () : % () : % zprof num calls time self name ----------------------------------------------------------------------------------- 1) 1 0.04 0.04 50.45% 0.04 0.04 50.45% (anon) [:3] 2) 1 0.04 0.04 49.55% 0.04 0.04 49.55% (anon) [:2]
2007-07-0623665: autoloading of module features and related tweaksPeter Stephenson1-5/+5
2007-05-28see 23479: add initial features support for modulesPeter Stephenson1-4/+25
2004-06-02Marked unused parameters with the new UNUSED() macro.Wayne Davison1-2/+2
2002-08-2717582: Improved option argument handling.Peter Stephenson1-2/+2
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2001-05-28Silence compiler warnings.Bart Schaefer1-2/+2
2001-05-28make the zprof wrapper function be more careful, avoiding almost all of the ↵Sven Wischnowsky1-48/+59
code when the module is being unloaded (14504)
2001-03-20fix misaligned percent output of zprof (13673)Sven Wischnowsky1-29/+25
1999-12-13Initial revisionTanaka Akira1-0/+328