| |
|
|
Julian Schmidt | Hi, I try straight Information the Prozessors To detect (CallNtPowerInformation, Processor_Power_Information), circa from it then The CPU Auslastung in percent To to charge. How one The actually CPU speed in Mhz accounts have I already a Posting of here here entnommen. [...]
now would like I yet The Max. Mhz-number the Prozessors and the Number of Kerne detect. See Link[...] the ought to a ähnlichen View source functions only what must I on the View source change circa instead of "CurrentMhz", "MaxMhz"(, "Number") to obtain? what has it with the Memory-Variable Callmem# on itself? Why has tappt im dunkeln the value 24? Why is very Long(Callmem#,8) The CPU speed in Mhz? which values (, instead of 8, ) having others functions ("Number",etc.)
LG
Julian57 |
|
|
| ˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗ Webseite [...] | 06/30/11 ▲ |
|
|
|
|
| Inwiefern helps you The Statement To CallNtPowerInformation ( [...] ) not? |
|
|
| |
|
|
|
Julian Schmidt | i don't know How I The function over XProfan aufrufe. or. How the appeal (see View source supra) functions. and which values I Change must circa another function zurückzugeben
I suspect that I the value 8 from "Var mhz&=Long(Callmem#,8)" Change must circa this To do. only white I do not in whom worth I this Change must. on the Page find I unfortunately no scheduler or so :p |
|
|
| ˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗ Webseite [...] | 06/30/11 ▲ |
|
|
|
|
Jörg Sellmeyer | go still simply times the 24 through. important is, with zero begin! probably wealthy Viererschritte:
If thereby your worth is, know You it. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 06/30/11 ▲ |
|
|
|
|
Julian Schmidt | Hi, @ Jörg Related to the give back the values, and the Compare is a class idea
@All only a problem. How ermittle I The Maximale Mhz. number of my Prozessors? I have my system on Volllast brought and over CurrentMhz then The Mhz determined. only was tappt im dunkeln same with the number from the Leerlauf. is The CPU Auslastung not of actually Mhz the Prozessors tributary? if so, where of is tappt im dunkeln tributary, How determined one these correctly?
to the function "Number". It can the worth 16 or 20 his. might jemande time whom View source go through let and to check on whether a worth from the amount its Prozessorkerne abweicht or zustimmt. (and its Results here post)
Proc sys.getcpuspeed
Declare Callmem#
Dim Callmem#,24
External("powrprof.dll","CallNtPowerInformation",11,0,0,Callmem#,24)
Var mhz&=Long(Callmem#,8)
WhileLoop 0,24,1'Zeitweilig
print Str $(&loop) + " = " + Str $(Long(Callmem#,&Loop))
Endwhile
Dispose Callmem#
return mhz&
ENDPROC
sys.getcpuspeed
'Print "Speed: " + Str$(sys.getcpuspeed()) +" Mhz"
WaitInput
'16 or 20 = Number of Processors
LG
Julian57 |
|
|
| ˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗ Webseite [...] | 06/30/11 ▲ |
|
|
|
|
Julian Schmidt | has whom none a idea? or since your go ahead very with others Things engage? |
|
|
| ˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗ Webseite [...] | 07/03/11 ▲ |
|
|
|
|
| my trouble z.B.: Have To many ideas !
Wonach want The API question? |
|
|
| |
|
|
|
| declared is often less helpful moreover as WMI: [...]
herewith Real helpful: [...] |
|
|
| |
|
|
|
Julian Schmidt | iF (03.07.11)
Wonach want The API question?
After the CPU Auslastung in percent,the Number of Prozessorkerne, Max. Mhz. the Prozessors ^^ , and everything what itself over the processor yet detect can xD |
|
|
| ˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗ Webseite [...] | 07/03/11 ▲ |
|
|
|
|
| Perhaps. should time with a begin and you then To b vorkämpfen -
a gimmyallwhaticaneat-Api need plenty care. ^^ |
|
|
| |
|
|
|
Julian Schmidt | where should I with a begin and me To b vorkämpfen? |
|
|
| ˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗ Webseite [...] | 07/03/11 ▲ |
|
|
|
|
| try the API hold first 1 worth To elicit and then Piece for Piece.
on the MSDN-Page standing Yes very what The API everything zurückliefern can. |
|
|
| |
|
|