Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Timing program execution on Windows

Re: Timing program execution on Windows

From: Jared Still <jkstill_at_gmail.com>
Date: Fri, 1 Dec 2006 12:08:23 -0800
Message-ID: <bf46380612011208s69dfe65bsdd41918e11935961@mail.gmail.com>


On 12/1/06, Bobak, Mark <Mark.Bobak_at_il.proquest.com> 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

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Dec 01 2006 - 14:08:23 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US