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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114c38,b2077f5b728fb9af X-Google-Attributes: gid114c38,public X-Google-Thread: 103376,b2077f5b728fb9af X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-11 00:45:35 PST From: "Martin Dowie" Newsgroups: comp.lang.ada,comp.os.vxworks References: <3ad31759$1@pull.gecm.com> Subject: Re: redirecting the standard output Date: Wed, 11 Apr 2001 08:32:25 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: sg2c11210.dsge.edinbr.gmav.gecm.com Message-ID: <3ad40649$1@pull.gecm.com> X-Trace: 11 Apr 2001 08:22:49 GMT, sg2c11210.dsge.edinbr.gmav.gecm.com Path: supernews.google.com!sn-xit-03!supernews.com!freenix!isdnet!newsfeed.icl.net!dispose.news.demon.net!demon!btnet-peer0!btnet-feed5!btnet!newreader.ukcore.bt.net!pull.gecm.com!sg2c11210.dsge.edinbr.gmav.gecm.com Xref: supernews.google.com comp.lang.ada:6740 comp.os.vxworks:6401 Date: 2001-04-11T08:32:25+01:00 List-Id: > Backing up a bit, why do you want to do this? I can guess that you > want to turn off some debugging output. It is _far_ better to define a > Debug_IO package, with a Boolean or Integer debug enabled variable. > Then have a style guide that says "Ada.Text_IO is _forbidden_ in > delivered code; use Debug_IO if you need debug output". In our 'real' development code this is exactly what will be done (we have a Project.Text_IO package which is the same for all projects, and we slap on whatever the OS provides in the way of 'Simple_IO' via the body, or 'null'ed for production) This is for testing and timing purposes. So far, from what simple tests we've run each character seems to be taking about 10ms to display via serial and 0.03ms via ethernet - does this sound reasonable to everyone?.. :-)