| View previous topic :: View next topic |
| Author |
Message |
Raccoon
Joined: 02 Jan 2008 Posts: 150 Location: Freenode IRC
|
Posted: Tue Aug 11, 2009 10:08 pm Post subject: I need some system stats from you guys, for my script. |
|
|
I'm working with a couple windows API functions, and I need to know what range of values to expect. If I could please have a number of members run the following code, and spit the output in a reply, I would greatly appreciate it.
The following script will obtain the physical speed of your System Time Clock and of your Performance Counter. Running the following script will copy these values to your clipboard, so you can quickly paste them here.
If you feel uncomfortable running this script, don't worry. But I am looking for a large sampling so I can get an idea of how much variance I can expect from system to system. If you could identify the actual chipsets involved, that would be amazing fantastic super funtime!
| Code: | ; Begin Clock Info Script by Raccoon 11-Aug-2009
SetFormat, Float, 0.16
; Retrieves your Query Performance Counter Frequency.
VarSetCapacity(QPF64, 8)
QPF_ret := DllCall("QueryPerformanceFrequency", "Int64", &QPF64)
QPF := NumGet(QPF64,0,"Int64")
QPF_sec := 1/QPF
; Retrieves your System Clock Frequency (system time interval).
VarSetCapacity(TA, 4)
VarSetCapacity(TI, 4)
VarSetCapacity(TAD, 4)
STA_ret := DllCall("GetSystemTimeAdjustment", "UInt", &TA, "UInt", &TI, "Int", &TAD)
TA := NumGet(TA,0,"UInt")
TI := NumGet(TI,0,"UInt")
TAD := NumGet(TAD,0,"Int")
TI_hz := 10000000/TI
TI_sec := TI/10000000
foo =
( LTrim
Performance Counter Frequency
QPF call returned %QPF_ret%
[b]%QPF%[/b] hz
%QPF_sec% sec
System Time Clock Frequency
STA call retrned %STA_ret%
[b]%TI%[/b] hundred-nanoseconds
%TI_hz% hz
%TI_sec% sec
TA = %TA%
TAD = %TAD%
AutoHotkey %A_AhkVersion% %A_OSVersion%
[ Please briefly describe your system
hardware statistics here. At least
specify what year it was purchased and
laptop, desktop, Dell, HP, etc, custom? ]
)
MsgBox, %foo%`n`nResults copied to your clipboard.`nCtrl+V to Paste.
Clipboard := foo
; End of Script |
Paste your results below. They might look similar to mine. _________________
Need help right away? Get live support on IRC.
Already have an IRC client installed? /join #ahk
Last edited by Raccoon on Tue Aug 11, 2009 10:23 pm; edited 3 times in total |
|
| Back to top |
|
 |
Raccoon
Joined: 02 Jan 2008 Posts: 150 Location: Freenode IRC
|
Posted: Tue Aug 11, 2009 10:11 pm Post subject: |
|
|
Performance Counter Frequency
QPF call returned 1
3579545 hz
0.0000002793651148 sec
System Time Clock Frequency
STA call retrned 1
100144 hundred-nanoseconds
99.8562070618309580 hz
0.0100144000000000 sec
TA = 100144
TAD = 1
AutoHotkey 1.0.48.03 WIN_XP
[ Please briefly describe your system
hardware statistics here. At least
specify what year it was purchased and
laptop, desktop, Dell, HP, etc, custom? ] _________________
Need help right away? Get live support on IRC.
Already have an IRC client installed? /join #ahk |
|
| Back to top |
|
 |
Z_Gecko Guest
|
Posted: Tue Aug 11, 2009 10:54 pm Post subject: |
|
|
Performance Counter Frequency
QPF call returned 1
3579545 hz
0.0000002793651148 sec
System Time Clock Frequency
STA call retrned 1
100144 hundred-nanoseconds
99.8562070618309580 hz
0.0100144000000000 sec
TA = 100144
TAD = 1
AutoHotkey 1.0.48.03 WIN_2000
[Pentium M 1.5 Ghz
IBM Thinkpad T41 ] |
|
| Back to top |
|
 |
Eedis
Joined: 12 Jun 2009 Posts: 1158 Location: Indianapolis IN, USA
|
Posted: Tue Aug 11, 2009 11:31 pm Post subject: |
|
|
Performance Counter Frequency
QPF call returned 1
1496280000 hz
0.0000000006683241 sec
System Time Clock Frequency
STA call retrned 1
156250 hundred-nanoseconds
64.0000000000000000 hz
0.0156250000000000 sec
TA = 156250
TAD = 1
AutoHotkey 1.0.47.06 WIN_XP
[ Desktop, Custom, a while back] _________________ www.AutoHotkey.net/~Eedis
I love my wife and daughter so much.
 |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 3254 Location: Simi Valley, CA
|
Posted: Tue Aug 11, 2009 11:42 pm Post subject: |
|
|
Performance Counter Frequency
QPF call returned 1
3579545 hz
0.0000002793651148 sec
System Time Clock Frequency
STA call retrned 1
156250 hundred-nanoseconds
64.0000000000000000 hz
0.0156250000000000 sec
TA = 156250
TAD = 1
AutoHotkey 1.0.48.03 WIN_XP 32bit
Acer Aspire 5100-5023. _________________ Ternary (a ? b : c) guide TSV Table Manipulation Library
Post code inside [code][/code] tags!
Last edited by [VxE] on Wed Aug 12, 2009 12:49 am; edited 1 time in total |
|
| Back to top |
|
 |
BigVent
Joined: 29 May 2008 Posts: 180
|
Posted: Tue Aug 11, 2009 11:52 pm Post subject: |
|
|
Performance Counter Frequency
QPF call returned 1
14318180 hz
0.0000000698412787 sec
System Time Clock Frequency
STA call retrned 1
156001 hundred-nanoseconds
64.1021531913256980 hz
0.0156001000000000 sec
TA = 156001
TAD = 1
AutoHotkey 1.0.48.03 WIN_VISTA _________________ ~BigVent |
|
| Back to top |
|
 |
Raccoon
Joined: 02 Jan 2008 Posts: 150 Location: Freenode IRC
|
Posted: Wed Aug 12, 2009 12:11 am Post subject: |
|
|
| Eedis wrote: | Performance Counter Frequency
1,496,280,000 hz
0.000,000,000,668,3241 sec |
Your performance timer is accurate to PICO SECONDS? _________________
Need help right away? Get live support on IRC.
Already have an IRC client installed? /join #ahk |
|
| Back to top |
|
 |
Eedis
Joined: 12 Jun 2009 Posts: 1158 Location: Indianapolis IN, USA
|
Posted: Wed Aug 12, 2009 12:16 am Post subject: |
|
|
Uhh, I have no clue. I just ran it and copy and pasted it. _________________ www.AutoHotkey.net/~Eedis
I love my wife and daughter so much.
 |
|
| Back to top |
|
 |
Eedis
Joined: 12 Jun 2009 Posts: 1158 Location: Indianapolis IN, USA
|
Posted: Wed Aug 12, 2009 12:20 am Post subject: |
|
|
| Z_Gecko wrote: | Performance Counter Frequency
QPF call returned 1
3579545 hz
0.0000002793651148 sec
|
Gecko's goes out 2 more than mine. _________________ www.AutoHotkey.net/~Eedis
I love my wife and daughter so much.
 |
|
| Back to top |
|
 |
Eedis
Joined: 12 Jun 2009 Posts: 1158 Location: Indianapolis IN, USA
|
Posted: Wed Aug 12, 2009 12:21 am Post subject: |
|
|
Performance Counter Frequency
QPF call returned 1
3579545 hz
0.0000002793651148 sec
System Time Clock Frequency
STA call retrned 1
156250 hundred-nanoseconds
64.0000000000000000 hz
0.0156250000000000 sec
TA = 156250
TAD = 1
AutoHotkey 1.0.47.06 WIN_XP
[ Desktop, Acer, a while back ]
This is my mom's computer downstairs. _________________ www.AutoHotkey.net/~Eedis
I love my wife and daughter so much.
 |
|
| Back to top |
|
 |
BF2 Player
Joined: 27 Mar 2009 Posts: 71
|
Posted: Wed Aug 12, 2009 12:28 am Post subject: |
|
|
Performance Counter Frequency
QPF call returned 1
3391540000 hz
0.0000000002948513 sec
System Time Clock Frequency
STA call retrned 1
156250 hundred-nanoseconds
64.0000000000000000 hz
0.0156250000000000 sec
TA = 156250
TAD = 1
AutoHotkey 1.0.48.03 WIN_XP |
|
| Back to top |
|
 |
miningold
Joined: 20 Nov 2008 Posts: 52
|
Posted: Wed Aug 12, 2009 1:31 am Post subject: |
|
|
Performance Counter Frequency
QPF call returned 1
2533400000 hz
0.0000000003947265 sec
System Time Clock Frequency
STA call retrned 1
156250 hundred-nanoseconds
64.0000000000000000 hz
0.0156250000000000 sec
TA = 156250
TAD = 1
AutoHotkey 1.0.47.06 WIN_XP
[ Desktop, Custom Setup, about 1 year ago ] |
|
| Back to top |
|
 |
bqw371
Joined: 26 Nov 2008 Posts: 32
|
Posted: Wed Aug 12, 2009 1:58 am Post subject: |
|
|
Performance Counter Frequency
QPF call returned 1
3579545 hz
0.0000002793651148 sec
System Time Clock Frequency
STA call retrned 1
156250 hundred-nanoseconds
64.0000000000000000 hz
0.0156250000000000 sec
TA = 156250
TAD = 1
AutoHotkey 1.0.48.03 WIN_XP
[
Acer Aspire one V1.02
1014 Megabytes Usable Installed Memory
Bus Clock: 533 megahertz
1.60 gigahertz Intel Atom N270
48 kilobyte primary memory cache
512 kilobyte secondary memory cache
Hyper-threaded (2 total)
Windows XP Home Edition Service Pack 3 (build 2600)
] |
|
| Back to top |
|
 |
smikkelsen
Joined: 24 Jun 2008 Posts: 104
|
Posted: Wed Aug 12, 2009 4:25 am Post subject: |
|
|
Performance Counter Frequency
QPF call returned 1
25000000 hz
0.0000000400000000 sec
System Time Clock Frequency
STA call retrned 1
156001 hundred-nanoseconds
64.1021531913256980 hz
0.0156001000000000 sec
TA = 156001
TAD = 1
AutoHotkey 1.0.48.00 WIN_VISTA
[I custom built it:
Processor: Intel Core 2 Quad Core Q6600 @ 2.4 GHz
Ram: 4 GB
32 bit Win Vista] _________________ “Whenever I'm about to do something, I think, 'Would an idiot do that?' And if they would, I do not do that thing.”
-Dwight |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Aug 12, 2009 4:40 am Post subject: |
|
|
Performance Counter Frequency
QPF call returned 1
2733720 hz
0.0000003658019109 sec
System Time Clock Frequency
STA call retrned 1
156250 hundred-nanoseconds
64.0000000000000000 hz
0.0156250000000000 sec
TA = 156250
TAD = 1
AutoHotkey 1.0.48.00 WIN_XP
[compaq presario sr2044nx ] |
|
| Back to top |
|
 |
|