English
Forum

Prozessorinformationen detect, Max. Mhz, number Kerne, Auslastung in % (CallNtPowerInformation)

 
- Page 1 -



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. [...] 
Proc sys.getcpuspeed

    Declare Callmem#
    Dim Callmem#,24
    External("powrprof.dll","CallNtPowerInformation",11,0,0,Callmem#,24)
    Var mhz&=Long(Callmem#,8)
    Dispose Callmem#
    return mhz&

ENDPROC

Print "Speed: "  + Str $(sys.getcpuspeed()) +" Mhz"
WaitInput

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  
 



 
- Page 2 -



Julian
Schmidt
hmmm...on the MSDN-Page find I no list with all Values.....
have you got a Link for me?
 
˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
07/04/11  
 



have I you here still already on Page 1 ...
 
07/04/11  
 




Julian
Schmidt
whom Dou you mean because? I seh there only whom Link to that WMI code Generator and To CallNtPowerInformation? not to a list of API command To MSDN
 
˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
07/04/11  
 



already The 1. response in this Topic.
 
07/04/11  
 




Julian
Schmidt
you have still a manner alphabetical-index To API functions,Values, command on MSDN spoken.
The Page of MSDN To CallNtPowerInformation have so did i already seen. The Link is Yes finally from my first Posting copies.
Inwiefern nützt it me means? Why verweist You on this Link? or want You just on MSDN verweisen?
 
˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
07/04/11  
 



Julian57 (04.07.11)
you have still a manner alphabetical-index To API functions,Values, command on MSDN spoken.


where the because? oO and wozu...

The MSDN-Page contains still already any Info !?!
 
07/04/11  
 




Julian
Schmidt
haha, then Have I you well misread as You of...

iF (03.07.11)
Perhaps. should time with a begin and you then To b vorkämpfen -


...tell have
 
˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
07/04/11  
 



Jupp, haste!

Prozessorinformationen detect,
Max. Mhz,
number Kerne,
Auslastung in %

are same 4+x "Wünsche" at a single blow -

vlt. with 1 begin.

where take You, the The API "Max. Mhz" returns?
 
07/04/11  
 




Julian
Schmidt
iF (04.07.11)
where take You, the The API "Max. Mhz" returns?


standing still on MSDN....



iF (04.07.11)
are same 4+x "Wünsche" at a single blow -


Yes, so many Opportunities were it time...
most could I already over WMI solve (, which of my opinion to rather To understand, and rather documents is.)
so falls "Max. Mhz", "Zahl Kerne" and Quote: "Everything what itself otherwise yet where detect lässt" lane.
now remaining yet Auslastung in %!
unfortunately can not How I erhofft have from CurrentMhz and MaxMhz. this worth to charge....

19 kB
Hochgeladen:07/04/11
Downloadcounter140
Download
 
˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
07/04/11  
 



Julian57 (04.07.11)
standing still on MSDN....


my talk!

have you time



respected?

4 kB
Hochgeladen:07/04/11
Downloadcounter145
Download
 
07/04/11  
 




Julian
Schmidt
Yes, clear.
but there's unfortunately not The CPU Auslastung alla Taskmanager thereby :p



[...] 

[OFFTOPIC]something shining with the spending one Bildes over <IMG></IMG> ([] through <> supplant)not To voices[/OFFTOPIC]

10 kB
Hochgeladen:07/04/11
Downloadcounter147
Download
 
˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
07/04/11  
 



this vlt. ?


2 kB
Hochgeladen:07/04/11
Downloadcounter134
Download
 
07/04/11  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

33.133 Views

Untitledvor 0 min.
RudiB.04/13/20
p.specht12/06/18
H.Brill11/22/15
iF06/02/15
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie