forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Anyway to know the CPU frequency (speed)?
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Apr 03, 2005 9:29 pm    Post subject: Reply with quote

Works pretty nicely Smile

For the speed, I have a 3.19 GHz CPU and it returns a different number
every time, but always close (at least 3 GHz)

Nice job, good DLL. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Sun Apr 03, 2005 10:56 pm    Post subject: Reply with quote

Yessssss!!! Thanks Smile

I have a 2.4 Ghz Intel, and it reported 2390 .. excellent.. I will test it on my old 98 400mhz.. and will let you know...
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sun Apr 03, 2005 11:39 pm    Post subject: Reply with quote

Hi Dr.Dread,

I get an external library not available error when trying to use the script with
VDS 4.5 on a Windows 98 SE machine. Any ideas?

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Mon Apr 04, 2005 12:46 am    Post subject: Reply with quote

I'm not sure NTDLL.DLL exists on a Win98 Machine Wink

This works great on NT based machines Smile

Good Job.

Any thoughts about making a DLL that allows you to get device info?

i.e. - Video card, sound card, cd/cdrw/dvd/dvdrw, attached USB devices
Back to top
View user's profile Send private message Send e-mail
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1562

PostPosted: Mon Apr 04, 2005 3:07 am    Post subject: Reply with quote

Looks like it will not work with mobile intel pentium chips, probably because as Jules pointed out the processor is throttled for power conservation.

The script shows the correct cpu usage %

But it shows the cpu speed as wrong, it says 600 when it should be ~1638 for 1.6 ghz. Raw cpu speed also says 598.
Back to top
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Mon Apr 04, 2005 3:39 am    Post subject: Reply with quote

Hey Bill,

Dunno if yer interested, but LCC has an intrinsic "_cpuid" function that returns CPU info. I haven't played with it yet though... Wink

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Mon Apr 04, 2005 7:29 am    Post subject: Reply with quote

ShinobiSoft wrote:
Hi Dr.Dread,

I get an external library not available error when trying to use the script with
VDS 4.5 on a Windows 98 SE machine. Any ideas?


As Aslan points out, it's probably the ntdll.dll that's missing. But the DLL has an alternative
@SEEPU(USAGE, [processor number - default is 1]) function. Should work on 9x as stated in
the ReadMe.txt.

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Mon Apr 04, 2005 7:35 am    Post subject: Reply with quote

New beta2 up. Fixed two small glitches.

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Mon Apr 04, 2005 1:35 pm    Post subject: Reply with quote

Mac wrote:
Hey Bill,

Dunno if yer interested, but LCC has an intrinsic "_cpuid" function that returns CPU info. I haven't played with it yet though... Wink

Cheers, Mac Smile


Thanks Mac, Wink I'll check it out. I really don't need processor speed info,
I was just trying to help Dr. Dread out by running his dll on my machine.

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Mon Apr 04, 2005 1:51 pm    Post subject: Reply with quote

Hiya Dr. Dread,

Still getting an external library not available error. Sad

Is you're dll checking for the existance of ntdll.dll before returning from its
Init() function? If it isn't then there could only be three things causing this
1) "SEEPU" is not being returned from Init()
2) LibMain() is not returning '1'
3) Underscores for exports are on instead of off.

Just a couple thought to help debug the situation.

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Mon Apr 04, 2005 4:39 pm    Post subject: Reply with quote

having the same problem on W98.. also here
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Mon Apr 04, 2005 10:01 pm    Post subject: Reply with quote

ShinobiSoft wrote:

Is you're dll checking for the existance of ntdll.dll before returning from its
Init() function? If it isn't then there could only be three things causing this
1) "SEEPU" is not being returned from Init()
2) LibMain() is not returning '1'
3) Underscores for exports are on instead of off.


Are we talking the same languages here? You sound pretty C'ish to me - I code in Delphi...

Anyway, I will see if I get the time to boot up a W98 box tomorrow and do some testing.

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
henrywood
Contributor
Contributor


Joined: 21 Sep 2004
Posts: 66
Location: Copenhagen, Denmark

PostPosted: Tue Apr 05, 2005 3:27 am    Post subject: Reply with quote

I tested the DLL and it reports as follows:



CPU Speed: 2800
Raw CPU Speed: 2774
CPU speed from Reg: 2800


Actual CPU is a P4 2.8 Northwood (Intel)


So this is right to the point Smile


Henrik
Back to top
View user's profile Send private message Send e-mail
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Tue Apr 05, 2005 11:16 am    Post subject: Reply with quote

Beta 3 is out. Some changes in functions etc.

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Tue Apr 05, 2005 12:49 pm    Post subject: Reply with quote

Works perfectly on my Windows XP.

I will test it on my W98 later.


Thanks Dread for your help and support Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group