Go to the FreeLists Home Page Home Signup Help Login
 



[oracle-l] || [Date Prev] [12-2006 Date Index] [Date Next] || [Thread Prev] [12-2006 Thread Index] [Thread Next]

Re: Timing program execution on Windows

  • From: "Jared Still" <jkstill@xxxxxxxxx>
  • To: "Bobak, Mark" <Mark.Bobak@xxxxxxxxxxxxxxx>
  • Date: Fri, 1 Dec 2006 12:08:23 -0800
On 12/1/06, Bobak, Mark <Mark.Bobak@xxxxxxxxxxxxxxx> wrote:

C:\Documents and Settings\mbobak>ntimer ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . : bos.il.pqe
        IP Address. . . . . . . . . . . . : 172.25.64.107
        Subnet Mask . . . . . . . . . . . : 255.255.254.0
        Default Gateway . . . . . . . . . : 172.25.64.1

ContextSwitches - 1642
First level fills = 0
Second level fills = 0

ETime(   0:00:00.328 ) UTime(   0:00:00.015 ) KTime(   0:00:00.062 )
ITime(   0:00:00.500 )



Hmm...
I tried it with DIR

C:\Program Files\Windows Resource Kits\Tools>.\ntimer.exe dir
CreateProcess(dir) failed 2

C:\Program Files\Windows Resource Kits\Tools>

The problem was that DIR is a builtin.
This works:

C:\Program Files\Windows Resource Kits\Tools>.\ntimer.exe cmd /c dir
Volume in drive C has no label.
Volume Serial Number is C041-CD44

Directory of C:\Program Files\Windows Resource Kits\Tools

12/01/2006  11:31 AM    <DIR>          .
12/01/2006  11:31 AM    <DIR>          ..
04/18/2003  06:05 PM            39,424 acctinfo.dll
...
04/18/2003  06:05 PM            28,087 wlbs_rc.dll
            188 File(s)     19,090,155 bytes
              2 Dir(s)  20,026,626,048 bytes free

ContextSwitches - 12543
First level fills = 0
Second level fills = 0

ETime(   0:00:00.450 ) UTime(   0:00:00.020 ) KTime(   0:00:00.010 )
ITime(   0:00:00.190 )


C:\Program Files\Windows Resource Kits\Tools>

Thanks Mark.

--
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.