diff options
| author | Andrew Innes | 2001-11-19 15:05:00 +0000 |
|---|---|---|
| committer | Andrew Innes | 2001-11-19 15:05:00 +0000 |
| commit | 70d7dbc415b38f4e86333ad02ddc8eb1a90fe451 (patch) | |
| tree | ddfe31e9611f7adde2daee9b2d4a66017c2f8c96 /nt | |
| parent | 2ea99a1e340cb4cd8737c3c70e6bdd37ff0abc7f (diff) | |
| download | emacs-70d7dbc415b38f4e86333ad02ddc8eb1a90fe451.tar.gz emacs-70d7dbc415b38f4e86333ad02ddc8eb1a90fe451.zip | |
New file.
Diffstat (limited to 'nt')
| -rwxr-xr-x | nt/ftime-nostartup.bat | 23 |
1 files changed, 23 insertions, 0 deletions
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 @@ | |||
| 1 | @echo off | ||
| 2 | if (%1)==() echo Usage: %0 tracefile | ||
| 3 | if (%1)==() goto done | ||
| 4 | rem Need to fiddle with the dumped image so prep doesn't break it | ||
| 5 | obj\i386\preprep ..\src\obj\i386\emacs.exe ..\src\obj\i386\pemacs.exe | ||
| 6 | copy ..\src\obj\i386\temacs.map ..\src\obj\i386\pemacs.map | ||
| 7 | rem ----------------------------------------------------------------- | ||
| 8 | rem Use this version to profile explicit commands only. | ||
| 9 | rem prep /om /ft /sf _Fexecute_extended_command ..\src\obj\i386\pemacs | ||
| 10 | rem ----------------------------------------------------------------- | ||
| 11 | rem Use this version to ignore startup code | ||
| 12 | prep /om /ft /sf _command_loop_1 ..\src\obj\i386\pemacs | ||
| 13 | rem ----------------------------------------------------------------- | ||
| 14 | rem Use this version to include startup code | ||
| 15 | rem prep /om /ft ..\src\obj\i386\pemacs | ||
| 16 | rem ----------------------------------------------------------------- | ||
| 17 | if errorlevel 1 goto done | ||
| 18 | profile ..\src\obj\i386\pemacs %2 %3 %4 %5 %6 %7 %8 %9 | ||
| 19 | if errorlevel 1 goto done | ||
| 20 | prep /m ..\src\obj\i386\pemacs | ||
| 21 | if errorlevel 1 goto done | ||
| 22 | plist ..\src\obj\i386\pemacs > %1 | ||
| 23 | :done | ||