Re: Different processor speeds
Re: Different processor speeds
- Subject: Re: Different processor speeds
- From: Emmanuel <email@hidden>
- Date: Thu, 1 Mar 2001 10:57:57 -0600
At 7:03 -0600 1/03/01, G.H. Hovagimyan wrote:
>
This works pretty good. But runs too slow on the 250 mhz. How does one
>
balance or quantify processor time so that a script functions the sdame on
>
different machines?
I think you can get the processor speed by such a call as:
------------------------------
tell application "Finder" to get computer "????"
------------------------------
The code you need to type instead of "????" can be found, I think, in the
"gestalt.h" interface file (this is programmer stuff). I don't have it
handy, sorry, but other here should.
In the meanwhile, you can start testing every imaginable code :)
I have tested "spee", "freq" and "mhz ", they do not work. "proc" returns
something, but what is it? It returns 3 on my machine, FireWire PowerBook
with 9.0.4.
HTH
Emmanuel