/usr/share/audacity/nyquist/profile.lsp is in audacity-data 2.2.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ; profile.lsp -- support for profiling
;## show-profile -- print profile data
(defun show-profile ()
(let ((profile-flag (profile nil)) (total 0))
(dolist (name *PROFILE*)
(setq total (+ total (get name '*PROFILE*))))
(dolist (name *PROFILE*)
(format t "~A (~A%): ~A~%"
(get name '*PROFILE*)
(truncate
(+ 0.5 (/ (float (* 100 (get name '*PROFILE*)))
total)))
name))
(format t "Total: ~A~%" total)
(profile profile-flag)))
;## start-profile -- clear old profile data and start profiling
(defun start-profile ()
(profile nil)
(dolist (name *PROFILE*)
(remprop name '*PROFILE*))
(setq *PROFILE* nil)
(profile t))
|