From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8ee4430d1820a774 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 09 Dec 2007 13:46:13 -0600 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: GNAT.Sockets: Timeval_Duration is in milliseconds? References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Sun, 09 Dec 2007 13:46:13 -0600 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 24.4.252.232 X-Trace: sv3-N9lYRdr9cKEFHXs0LCE6s+Mejo6R6iiU1wYxGUjAgEjhLqjpDfrwTlEwJb0NDVdTpWpLCmVoSWptiDe!COzywyYXlMphKugwLrgdN/TmoChQX5fh5AoE0xs8IdGEhuQ7c2QtZAmrAl6sVI3zfyIpBP0GT6iI!x5sxaNju5ijLwOC2GmN/QzfyE8of X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.36 Xref: g2news1.google.com comp.lang.ada:18825 Date: 2007-12-09T13:46:13-06:00 List-Id: > *If* a Timeval_Duration was in units of milliseconds you would be > completely right. But it is in seconds, just as it should be. So regardless of where it occurs in the program, the statement T2 := T1 + Duration'(1.0); will result in T2 being one second later than T1 - it will never make T2 one millisecond later than T1. That's a relief.