[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxaxp::vmsnotes

Title:VAX and Alpha VMS
Notice:This is a new VMSnotes, please read note 2.1
Moderator:VAXAXP::BERNARDO
Created:Wed Jan 22 1997
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:703
Total number of notes:3722

335.0. "Time unit for the Alpha CPU idle time" by HGOVC::EDMONDLEUNG () Sun Mar 16 1997 21:16

    Hi,
    
    One of our customer is asking the null CPU time for the AXP system. As
    this customer is very knowledge about VAX system and they know that the
    CPU idle time unit for VAX system machine is 10-millisecond. However,
    they are not too sure that this also applies to AlphaSever 1000A/4100
    system or not. 
    
    This customer uses a program to get the null CPU time from the
    AlphaServer and the returened null CPU time result is larger than 100
    units in a second. Therefore, they suspect that the CPU idle time unit
    is still in 10-millisecond as VAX. Is that assumption correct? In fact,
    what will be the correct unit for the Alpha's system null CPU time?
    
    Thanks for any suggestions.
    Edmond 
T.RTitleUserPersonal
Name
DateLines
335.1time always ticksCOMEUP::SIMMONDSloose canonMon Mar 17 1997 00:5310
    Re: .0
    
    If your Customer is getting the Idle time by calling the (undocumented)
    sys$getspi() service, then, the value returned is in the same units on
    VAX and Alpha, i.e. ticks (1e-2 seconds per tick) and for a MultiProcessor
    node (e.g. AlphaServer 4100) the result is the _sum_ of idle time for
    all active CPUs.  (On Alpha, the per-CPU metric quadwords contain time
    values in 100ns units.)
    
    John.
335.2exe$getspiXDELTA::HOFFMANSteve, OpenVMS EngineeringMon Mar 17 1997 09:325
   The undocumented service is exe$getspi, not sys$getspi.

   See the keywords over in NOTED::HACKERS for details, and for various
   example programs.