Re: profile g95



Windows 2000 Resource Kit routine, TimeThis.exe will display
elapsed time for a command. This will be close to the CPU time
if no other apps are running during the timing. It works under
Windows XP.
http://www.microsoft.com/downloads/details.aspx?familyid=913795CD-7026-4143-AE85-1F5E096F9BE0&displaylang=en

If you don't mind doing a time subtract you can write a .bat file
to display elapsed time start and time end for a command:

echo off
rem Set the prompt to the time of day.
prompt $t$g
if exist %1.BAT GOTO CALLIT
echo on
%1 %2 %3 %4 %5 %6 %7 %8 %9
echo off
GOTO WRAPUP
:CALLIT
echo on
CALL %1 %2 %3 %4 %5 %6 %7 %8 %9
echo off
:WRAPUP
rem Restore the usual prompt.
prompt $p$g

On 27 Sep 2006 11:21:49 -0700, beliavsky@xxxxxxx wrote:

-|I use mingw g95 on Windows XP. Is there a profiling tool to measure how
-|CPU time is consumed, or should I just sprinkle calls to the CPU_TIME
-|intrinsic in the code? If there is a tool that works only on Linux, I
-|could profile the code there -- I'd guess that the timings should be
-|similar.

.



Relevant Pages

  • Re: Command prompt is displayed briefly, then disappears
    ... If you search for accessories and then open the folder and click command ... prompt, will it run? ... opens. ... MS MVP-IE, Mail, Security, Windows Client - since 2002 ...
    (microsoft.public.windowsxp.general)
  • Re: writing to a - log file
    ... MS-DOS (or command line session under Windows) you're using. ... But back to you redirection question. ... ECHO This is a test ...
    (comp.os.msdos.programmer)
  • Re: cmd.exe title bar and prompt
    ... [[Whenever you subsequently use the CD command to change directories, ... How to Change the Title Bar Caption of the Command Prompt ... Copyright 1985-2001 Microsoft Corp. ... MS-MVP Windows Shell/User ...
    (microsoft.public.windowsxp.general)
  • Re: WinXP Pro Partially Installs, but Will Not Finish Installation
    ... Insert the Windows XP CD, ... At the command prompt, type the following command, and then press the ... > Method 2: Replace Missing Files ...
    (microsoft.public.windowsxp.general)
  • Re: 16-bit under WinXP Pro?
    ... @echo off ... If Command Extensions are enabled, and running on the Windows XP ... [[To run 16-bit Windows applications, NT uses a VDM that contains an extra ...
    (microsoft.public.windowsxp.help_and_support)