Article View: fr.comp.lang.c
Article #15579Delai en 100 eme de ms universel
From: Arnaud
Date: Fri, 16 Sep 2005 14:15
Date: Fri, 16 Sep 2005 14:15
65 lines
3410 bytes
3410 bytes
C'est un message de format MIME en plusieurs parties. ------=_NextPart_000_1071_01C5BAD9.C9BE7920 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Salut =E0 tous Comment obtenir des poses de l'ordre du 100 eme de milli seconde ( 0.01 = ms ) en Turbo C sous Dos avec un r=E9sultat constant quelque soit la = puisasnce du PC utilis=E9 ?=20 La commande delai(1) permet d'avoir une delai de 1 milliseconde . = Impossible de dessendre en dessous via cette commande=20 La boucle for(i=3D1;i<10000;i++) permet une pause plus courte et tres = fine mais offre un resultat totalement variable et depedant de la = puissance du PC utilis=E9 ...=20 Arnaud ------=_NextPart_000_1071_01C5BAD9.C9BE7920 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Salut =E0 tous</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Comment obtenir des poses de = l'ordre du=20 100 eme de milli seconde ( 0.01 ms ) en Turbo C sous Dos avec un = r=E9sultat=20 constant quelque soit la puisasnce du PC utilis=E9 ? = </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>La commande delai(1) permet = d'avoir une delai=20 de 1 milliseconde . Impossible de dessendre en dessous via cette = commande=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>La boucle for(i=3D1;i<10000;i++) = permet une pause=20 plus courte et tres fine mais offre un resultat totalement variable et = depedant=20 de la puissance du PC utilis=E9 ... </FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV> </DIV> <DIV> <FONT face=3DArial size=3D2>Arnaud = </FONT></DIV></BODY></HTML> ------=_NextPart_000_1071_01C5BAD9.C9BE7920--
Technical Details
Message-ID:
<432ad506$0$307$7a628cd7@news.club-internet.fr>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!fr.ip.ndsoftware.net!proxad.net!proxad.net!m.t-online.fr!v.t-online.fr!t-online.fr!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f9822,8d23bb47e02845e2,start X-Google-Attributes: gidf9822,public X-Google-Language: FRENCH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!fr.ip.ndsoftware.net!proxad.net!proxad.net!m.t-online.fr!v.t-online.fr!t-online.fr!not-for-mail Reply-To: "Arnaud" <clerget_a@club-internet.fr> From: "Arnaud" <clerget_a@club-internet.fr> Newsgroups: fr.comp.lang.c Subject: Delai en 100 eme de ms universel Date: Fri, 16 Sep 2005 16:15:00 +0200 Organization: . MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_1071_01C5BAD9.C9BE7920" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Lines: 66 Message-ID: <432ad506$0$307$7a628cd7@news.club-internet.fr> NNTP-Posting-Date: 16 Sep 2005 14:21:59 GMT NNTP-Posting-Host: 62.35.1.136 X-Trace: 1126880519 news.club-internet.fr 307 62.35.1.136 X-Complaints-To: abuse@club-internet.fr