On 2017-03-16 19:27, pete.goodeve@xxxxxxxxxxxx wrote:
On Thu, Mar 16, 2017 at 06:28:41PM -0400, Brian Hill wrote:
pete.goodeve@xxxxxxxxxxxx wrote:Hmm. I see that cpu_type.h is private, so maybe not a good idea to
>What puzzles me greatly is that the BeOS version and an earlier
>Haiku compile, running in a current Haiku, both seem to be getting
>the clock value, as they have perfectly good rotation/translation.
>How is this possible?
Got me, but AboutSystem uses get_rounded_cpu_speed() from cpu_type.h for
the value it displays.
use it in an app....
Thinking about it, I'll bet that the older ArtPaint is just getting a
random value (using
the original system_info) that just happens to suit! I looked at the
original BeOS and
current Haiku structs, and they're totally different afte the first
two entries. Not
sure how they got away with that -- thought to intent was to keep BeOS
compatibility!