From 70d7dbc415b38f4e86333ad02ddc8eb1a90fe451 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Mon, 19 Nov 2001 15:05:00 +0000 Subject: [PATCH] New file. --- nt/ftime-nostartup.bat | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 nt/ftime-nostartup.bat diff --git a/nt/ftime-nostartup.bat b/nt/ftime-nostartup.bat new file mode 100755 index 00000000000..501e4384075 --- /dev/null +++ b/nt/ftime-nostartup.bat @@ -0,0 +1,23 @@ +@echo off +if (%1)==() echo Usage: %0 tracefile +if (%1)==() goto done +rem Need to fiddle with the dumped image so prep doesn't break it +obj\i386\preprep ..\src\obj\i386\emacs.exe ..\src\obj\i386\pemacs.exe +copy ..\src\obj\i386\temacs.map ..\src\obj\i386\pemacs.map +rem ----------------------------------------------------------------- +rem Use this version to profile explicit commands only. +rem prep /om /ft /sf _Fexecute_extended_command ..\src\obj\i386\pemacs +rem ----------------------------------------------------------------- +rem Use this version to ignore startup code +prep /om /ft /sf _command_loop_1 ..\src\obj\i386\pemacs +rem ----------------------------------------------------------------- +rem Use this version to include startup code +rem prep /om /ft ..\src\obj\i386\pemacs +rem ----------------------------------------------------------------- +if errorlevel 1 goto done +profile ..\src\obj\i386\pemacs %2 %3 %4 %5 %6 %7 %8 %9 +if errorlevel 1 goto done +prep /m ..\src\obj\i386\pemacs +if errorlevel 1 goto done +plist ..\src\obj\i386\pemacs > %1 +:done -- 2.39.5