× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Mcsec in Timestamp, is it possible
  • From: bmorris@xxxxxxxxxx
  • Date: Wed, 14 Feb 2001 12:47:23 -0500
  • Importance: Normal


>Date: Tue, 13 Feb 2001 14:19:14 -0500
>From: "Urbanek, Marty" <Marty_Urbanek@stercomm.com>
>
>I have no experience with this, but I just saw a URL for that today:
>
>http://as400.rochester.ibm.com/developer/porting/example25.html
>

That site provides a way to get a timestamp that's unique, but it
doesn't promise that the microseconds will be valid, just that
they'll be different from the previous value obtained.

As far as I know, there's no way to get an accurate microseconds
measurement.

The best way to find out how long something takes is to do the
<something> enough times in a row so the whole run takes several
seconds, and then divide the result by the number of iterations.

Anything that returns 6-digit microseconds should be carefully
tested to make sure it's returning meaningful data in the last
3 digits, before using the value as a measurement.  (Normally,
having accurate microseconds in a timestamp isn't as important
as having unique timestamps.)

Ah, I just read Bruce's post about the resolution being better
in V4R3.  Maybe these functions that return data in the last
3 digits are giving better values now.

Barbara Morris


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.