News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

FindFirstFileEx, FindExInfoBasic and FIND_FIRST_EX_LARGE_FETCH

Started by jj2007, May 28, 2013, 08:58:06 PM

Previous topic - Next topic

jj2007

Quote from: dedndave on May 29, 2013, 08:40:23 PM
now, it says no file for C:\masm32\examples, which is incorrect

sh....  what's wrong today ::)
Can you post the header. e.g. Commandline=[?], testing [C:\Masm32\Examples\*] ?

dedndave


Intel(R) Pentium(R) 4 CPU 3.00GHz (MMX, SSE, SSE2, SSE3)
Microsoft Windows XP
Test FindExInfoBasic and FIND_FIRST_EX_LARGE_FETCH flags
K7NL, 04:00:55
Commandline=[?], testing [C:\Masm32\Examples\*]

dedndave

by the way, i have examples from different versions in the Masm32 folder
Examples_v7, Examples_v10, Examples_v11   :biggrin:

to run your test, i have renamed Examples_v11 to Examples

also, i have added some of my own examples - lol
(which i have temporarily moved elsewhere)

Gunther

Jochen,

here the results from your latest version:


c:\scratch02>GetFilesEx.exe C:\Program Files
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SS
E4.2, AVX)
Windows 7 Professional
Test FindExInfoBasic and FIND_FIRST_EX_LARGE_FETCH flags
Line 18: Get/SetRegVal failed , 15:31:09
Commandline=[C:\Program Files], testing [C:\Program Files\*]

112 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer
79 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer

120 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer
80 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer

97 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer

78 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer

116 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer
78 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer

99 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer

103 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer
100 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer
102 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer
99 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer

103 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer
102 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer
102 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer
99 ms for 1000 loops, BasicInfo=1, LargeFetch=2  25.05.2013 16:35:58 .. Explorer

102 ms for 1000 loops, BasicInfo=0, LargeFetch=0  25.05.2013 16:35:58 .. Explorer
...
1914 bytes in LogJJ.txt created 15:31:11, last #folders=27
Total ms by flag setting, ignoring first 2 runs:
668 ms for flags OFF
712 ms for flags ON
c:\scratch02>


Gunther
You have to know the facts before you can distort them.

xandaz

   Where did u get those counting macros? that's michael w's right? i searched but no luck. anyone has link?
tyx

jj2007

Quote from: xandaz on May 30, 2013, 08:27:57 AM
Where did u get those counting macros?

NanoTimer() is part of MasmBasic. It's a standalone macro, you'll find it in \Masm32\MasmBasic\MasmBasic.inc (you can search the file for QueryPerformanceCounter).

xandaz