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 -


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  
 



 
- Page 3 -



Julian
Schmidt
The entry "Win32_PerfFormattedData_PerfOS_Processor" exestiert not at me :p
by me are too only 312 and not How with you 426 classes present!
 
˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
07/04/11  
 



here standing ex XP: [...]  oO
 
07/04/11  
 




Julian
Schmidt
hmmmm..at least is not in WMICodeCreator aufgelistet.
I have Win7 Home Premium.


34 kB
Hochgeladen:07/04/11
Downloadcounter152
Download
 
˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
07/04/11  
 



have You Win32_Processor?
 
07/04/11  
 




Julian
Schmidt
Yes!
 
˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
07/05/11  
 




E.T.
Interessantes Topic
...and if your already time thereby are: The Professor-Last the (own) Program would me too interested

[OFFTOPIC]@IF: we must absolutely time again (integrally long) Kettwurst food weg (ifs because denStand yet gives) , Have there many ask on you... means, we're time Time find...

...and why becomes really this OFFTOPIC-commands in the "Normal-Ansicht" always with displayed ??
[/OFFTOPIC]
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
07/05/11  
 



[OFFTOPIC]
E.T. (05.07.11)


[OFFTOPIC]@IF: we must absolutely time again (integrally long) Kettwurst food weg (ifs because denStand yet gives)
[/OFFTOPIC]




so siehts time from! be today incidentally integrally in the sew the Ketwurst-Bude and could you what vorschmatzen!

E.T. (05.07.11)


[OFFTOPIC]...and why becomes really this OFFTOPIC-commands in the "Normal-Ansicht" always with displayed ??
[/OFFTOPIC]




otherwise wäres Yes "nur" gray and not so very too as OffTopic marked and always grauer Better get going because one Yes not so plenty offtopic "labern" should. ^^[/OFFTOPIC]
 
07/05/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.145 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