X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f In-Reply-To: Subject: Re: Performance enhancement for gettimeofday()? To: djgpp AT delorie DOT com X-Mailer: Lotus Notes Release 6.5.4 CCH5 September 12, 2005 Message-ID: From: Gordon DOT Schumacher AT seagate DOT com Date: Wed, 10 Jan 2007 09:19:53 -0700 X-MIMETrack: Serialize by Router on SV-GW1/Seagate Internet(Release 7.0.1 HF29|March 07, 2006) at 01/10/2007 08:19:58 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Proofpoint-FWRule: outbound2 X-Proofpoint-Virus-Version: vendor=fsecure engine=4.65.5446:2.3.11,1.2.37,4.0.164 definitions=2007-01-10_03:2007-01-10,2007-01-09,2007-01-10 signatures=0 Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Rod Pemberton wrote on Tue, 9 Jan 2007 at 03:46:03 -0500: # I believe this it the math you'll need: # # 14.318Mhz=4*3.58Mhz=4*(4.5Mhz*455/572) # (4.5Mhz US TV bandwith/channel, 455 colorburst phase changes/line, 572 # total lines/frame including sync) # 14.318Mhz/12=1.93182Mhz Aha, this is the one that's why our numbers don't agree: 14.318MHz divided by 12 is actually 1.193666... MHz. # 1.93182Mhz/65536=18.2065Hz So it ends up being: 1.193666... MHz / 65536 = 18.20627848307291666... Hz