[Ace-users] [ace-users] : question about global scale factor

Johnny Willemsen jwillemsen at remedy.nl
Sat Oct 20 12:47:00 CDT 2007


Hi,

Is this a mobile CPU?

Johnny

"Ricardo Perrone" <perrone at rocketmail.com> wrote in message
news:<mailman.2612.1192826168.5286.ace-users at mail.cse.wustl.edu>...

Hi,

    CIAO version 0.6.1
    TAO version 1.6.1
    ACE VERSION: 5.6.1

    HOST MACHINE and OPERATING SYSTEM:
        Centrino Duo Core, Ubuntu 7.0.4-Feisty, kernel
 2.6.20-16-generic

    COMPILER NAME AND VERSION (AND PATCHLEVEL):
        gcc (GCC) 4.1.2

    THE $ACE_ROOT/ace/config.h FILE:
        #include "ace/config-linux.h"

    THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE:
        no_hidden_visibility=1
        include
 /usr/local/ACE_wrappers/include/makeinclude/platform_linux.GNU


    CONTENTS OF
 $ACE_ROOT/bin/MakeProjectCreator/config/default.features:
     [there is no default.features file, but the gnuace and global
 features]
        qt=1
        fl=1
        tk=1
        xt=1
        cidl=1
        sctp=1
        zlib=1

    DESCRIPTION:

When i try to get the global scale factor implemented by ACE High_Res_Timer
Class, some times it returns the value 1000 and another time it returns
1833. Why this happens? 
i thought that it was stablished only one time by detecting hardwares
settings. If this value change at any time, how can i determine the correct
scale factor to be used?

cpuinfo file:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 14
model name      : Genuine Intel(R) CPU           T2400  @ 1.83GHz
stepping        : 8
cpu MHz         : 1000.000
cache size      : 2048 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc up
pni monitor vmx est tm2 xtpr
bogomips        : 3662.40
clflush size    : 64


at boot time the parameter maxcpus was set to 1

Thanks for help

Ricardo



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

----------



More information about the Ace-users mailing list