From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,2ddd659c8ae44fe3 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-02-21 16:23:59 PST Path: nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!hudson.lm.com!godot.cc.duq.edu!ddsw1!panix!news.mathworks.com!uunet!spcuna!eisner!kilgallen From: kilgallen@eisner.decus.org (Larry Kilgallen, LJK Software) Newsgroups: comp.sys.dec Subject: Re: How to get CPU time under OpenVMS Fortran ?? Message-ID: <1995Feb21.192359.9186@eisner> Date: 21 Feb 95 19:23:59 -0500 References: <3i07lf$sv6@cerberus-138.wustl.edu> Organization: DECUServe In article <3i07lf$sv6@cerberus-138.wustl.edu>, ponder@dasher.wustl.edu (Jay Ponder) writes: > > I'm trying to benchmark a Fortran program on the network available > Alpha-based OpenVMS system (axpvms.pa.dec.com), but I need to know > the OpenVMS way of getting the elapsed CPU time for a process from > Fortran. The OpenVMS Fortran does not support "etime" as does the > OSF/1 version. I used to have a small hunk of VAX/VMS Fortran code > that used a call to SYS$GETJPI to get the elapsed time. It worked > seven years ago, but seems to fail now. Since I don't have access > to the required OpenVMS docs, could some kind sole help me out.... For benchmark purposes, it should be sufficent that you use the routines described in response to the DCL command: $ help rtl lib$ lib$show_timer I am not being sarcastic. It is not at all obvious what routine to look for, but the one named above has worked well for me on "quick and dirty" efforts in the past. Larry Kilgallen