- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: DST Time Drift
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2008 11:59 AM
тАО03-18-2008 11:59 AM
The macro has the following:
$ IF F$GETSYI("HW_MODEL") .LT. 1024
$ THEN FIVE_HOURS = "1800000" !VAX
$ ELSE FIVE_HOURS = "18433179" !AXP
Where do I get the value for the FIVE_HOURS?
I am trying to setup the same macro to be tested on Itanium.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2008 12:47 PM
тАО03-18-2008 12:47 PM
SolutionThe value 18433179 is 5x60x60x1024, in other words, the number of 1024Hz ticks in 5 minutes - the Alpha clock interval. (well, actually it's not quite that value, I think it should be 18432000, but I don't know what the programmer was thinking). The VAX number is 5x60x60*100 which is the number of 100Hz (10mSec) ticks in 5 minutes, the VAX clock interval.
I think the I64 value should be the same as the Alpha number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2008 01:07 PM
тАО03-18-2008 01:07 PM
Re: DST Time Drift
If I were writing that code, I would have written it as:
$ FreqVAX = 100
$ FreqAlpha = 1024
$ FreqI64 = 1024 ! ?
$ FIVE_HOURS=5*60*60*Freq'F$GETSYI("ARCH_NAME")'
to make the theory and reasoning more obvious.
I'd be even happier if I could find a $GETSYI item to return EXE$GL_SYSTICK so the value could be derived in an architecture independent manner, rather than hard coded.
You can confirm the I64 value by comparing EXE$GL_SYSTICK between I64 and Alpha. The Alpha value is %X2625 = 9765 Decimal, which means .0009765 seconds, or 1/1024th second.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2008 01:25 PM
тАО03-18-2008 01:25 PM
Re: DST Time Drift
SDA> exa EXE$GL_SYSTICK
EXE$GL_SYSTICK: 00000000.00002710 ".'......"
SDA> EXAM EXE$GL_TICKLENGTH
EXE$GL_TICKLENGTH: 00000000.00002710 ".'......"
18432000 as the five_hours would make more sense for the alpha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2008 02:27 PM
тАО03-18-2008 02:27 PM
Re: DST Time Drift
> The values from my itaniums
>
> SDA> exa EXE$GL_SYSTICK
> EXE$GL_SYSTICK: 00000000.00002710 ".'......"
That's 10000 decimal, so the frequency on I64 is 1000. Your FIVE_HOURS should therefore be 18000000. My version would be:
$ FreqVAX = 100
$ FreqAlpha = 1024
$ FreqI64 = 1000
$ FIVE_HOURS=5*60*60*Freq'F$GETSYI("ARCH_NAME")'
(I'm also assuming that ARCH_NAME returns the string I64, but no access to an I64 system to check)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2008 02:43 PM
тАО03-18-2008 02:43 PM
Re: DST Time Drift
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2008 02:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2008 08:12 AM
тАО03-19-2008 08:12 AM
Re: DST Time Drift
Wouldn't that tick be CPU speed dependent as well as platform dependent?
My Alpha 4100 5/600s give a value of 208D Hex, or 8333 (1/1200th second) and not the 2625 Hex (1/1024th second) John listed above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2008 09:11 AM
тАО03-19-2008 09:11 AM
Re: DST Time Drift
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2008 09:18 AM
тАО03-19-2008 09:18 AM
Re: DST Time Drift
Could be because I'm on version 7.1. I get the same value returned for exe$gl_systick and exe$gl_ticklength.