John,

Unfortunately the TIME() and related functions on hp-ux are only accurate to 
the nearest second until somewhere round about release 10.1. You can get around 
this by writing your own 'C' routine and calling it via the GCI.

HTH,

Andy


----- Original Message ----
From: John Rodgers <[email protected]>
To: [email protected]
Sent: Fri, 12 February, 2010 15:58:34
Subject: [U2] UV time milliseconds option

We run UniVerse 9.6 on HP-UX

We run PICK flavor accounts to accommodate our SB+ applications



I am having trouble pinning down the cause of a performance issue so I
want to record the progress of program.



I need timestamps in milliseconds.

I tried the $OPTIONS TIME.MILLISECOND

So SYSTEM(12) should return the required value





START.TIME = 38694               ;*  TIME()

START.SYS12 = 38694000           ;*    

@TIME = 38694                        

CPU TIME = 17280                 ;*   from SYSTEM(9)



NAP 500



NEW TIME = 38695000              ;*   SYSTEM(12)    

ELAPSE TIME = 1000               ;*  SYSTEM(12) - START.SYS12    

CPU ELAPSE = 10                      





That's not right.

Without the nap.

NEW.TIME is always = START.SYS12

  ie  = START.TIME : '000'



I have tried variation on the theme of $OPTIONS

With and without various 'FLAVOR' keywords.





What am I missing?





Cheers





JR





John Rodgers

MasterPack Project Team

Masonite International

Tel:  (813) 2612396 ext 3036






















_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users



      
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to