From c65057f09617b1b1bd0c20f3711496d2f78ff576 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Wed, 25 Jul 2007 00:33:51 -0700 Subject: [PATCH] don't dump cpu timing by default. --- scm/lily.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scm/lily.scm b/scm/lily.scm index ce1936fd90..6f2f09d2e6 100644 --- a/scm/lily.scm +++ b/scm/lily.scm @@ -40,7 +40,8 @@ ensure that all refs to parsed objects are dead. This is an internal option, an (debug-skylines #f "debug skylines") (delete-intermediate-files #f "delete unusable PostScript files") - (dump-profile #f "dump timing information for each file") + (dump-profile #f "dump memory and time information for each file") + (dump-cpu-profile #f "dump timing information (system-dependent)") (dump-signatures #f "dump output signatures of each system. Used for regression testing.") (eps-box-padding #f "Pad EPS bounding box left edge. Guarantee alignment between systems in LaTeX.") @@ -415,7 +416,9 @@ The syntax is the same as `define*-public'." (ly:progress "\nWriting timing to ~a..." outname) (format (open-file outname "w") "time: ~a\ncells: ~a\n" - (car diff) + (if (ly:option 'dump-cpu-profile) + (car diff) + 0) (cadr diff) ))) -- 2.39.2