
|
[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: "Bobak, Mark" <Mark.Bobak@xxxxxxxxxxxxxxx>
- To: "Jared Still" <jkstill@xxxxxxxxx>
- Date: Fri, 1 Dec 2006 15:18:33 -0500
Heh...I forgot that I first tried it w/ DIR as well. I had the same
realization, that it wouldn't work cause it was a built-in, and that's
when I tried ipconfig. Guess I should have mentioned that...;-)
-Mark
--
Mark J. Bobak
Senior Oracle Architect
ProQuest Information & Learning
There is nothing so useless as doing efficiently that which shouldn't be
done at all. -Peter F. Drucker, 1909-2005
________________________________
From: Jared Still [mailto:jkstill@xxxxxxxxx]
Sent: Friday, December 01, 2006 3:08 PM
To: Bobak, Mark
Cc: Oracle-L Freelists
Subject: Re: Timing program execution on Windows
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
|

|