- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to profile a code using the follwing batch file, provided in the page, titled, "Profiler Batch
Processing". Here is the provided code, which I've pasted in a file, named ftime.bat.
PREP /OM /FT /EXC nafxcwd.lib %1
if errorlevel == 1 goto done
PROFILE %1 %2 %3 %4 %5 %6 %7 %8 %9
if errorlevel == 1 goto done
PREP /M %1
if errorlevel == 1 goto done
PLIST /SC %1 >%1.lst
PLIST /t %1 >%1.xls
:done
I issue the following command to run the process:
ftime d:......ssme_pw_mail.exe
I get the following error when I try to profile my fortran code:
PREP : fatal error PRF1301: file d:......ssme_pw_main.exe has an incorrect (old) signature
The knowledge base tells me the following:
Profiler Error PRF1301 fatal error -- common -- file filename has an incorrect(old) signature. A PBI, PBO, PBT, _XE, or _LL file does not contain the correct header bytes. Perhaps the file is corrupted or was created by an old version of the profiler.
I've ...
Processing". Here is the provided code, which I've pasted in a file, named ftime.bat.
PREP /OM /FT /EXC nafxcwd.lib %1
if errorlevel == 1 goto done
PROFILE %1 %2 %3 %4 %5 %6 %7 %8 %9
if errorlevel == 1 goto done
PREP /M %1
if errorlevel == 1 goto done
PLIST /SC %1 >%1.lst
PLIST /t %1 >%1.xls
:done
I issue the following command to run the process:
ftime d:......ssme_pw_mail.exe
I get the following error when I try to profile my fortran code:
PREP : fatal error PRF1301: file d:......ssme_pw_main.exe has an incorrect (old) signature
The knowledge base tells me the following:
Profiler Error PRF1301 fatal error -- common -- file filename has an incorrect(old) signature. A PBI, PBO, PBT, _XE, or _LL file does not contain the correct header bytes. Perhaps the file is corrupted or was created by an old version of the profiler.
I've ...
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You also submitted this to vf-support (good!), but your company's mail server bounced the reply (bad!) - I think it thought it was spam, though the message was unclear.
Anyway, here is what I sent:
According to Microsoft Knowledge Base article Q170513, the description in the documentation of how to use FTIME.BAT is incorrect. It should read:
"If the preceding batch file was named FTIME.BAT, and you wanted to profile the program TEST from the Profile dialog box, you would select the Custom option, and then specify FTIME.BAT in the Custom Settings box. If you wanted to profile the TEST program from the command prompt, you would type: FTIME TEST"
Note - not FTIME TEST.EXE....
Please let me know if this resolves your problem.
Steve
Anyway, here is what I sent:
According to Microsoft Knowledge Base article Q170513, the description in the documentation of how to use FTIME.BAT is incorrect. It should read:
"If the preceding batch file was named FTIME.BAT, and you wanted to profile the program TEST from the Profile dialog box, you would select the Custom option, and then specify FTIME.BAT in the Custom Settings box. If you wanted to profile the TEST program from the command prompt, you would type: FTIME TEST"
Note - not FTIME TEST.EXE....
Please let me know if this resolves your problem.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Steve!
This was the very answer I needed.
I now have the use of the profiler - what a neat tool!
This was the very answer I needed.
I now have the use of the profiler - what a neat tool!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The MS Profiler has some serious limitations, but if it does the job for you, fine. May I suggest trying the evaluation version of Intel VTune Performance Analyzer? It leaves the MS profiler in the dust...
Steve
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page