From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=BAYES_00,TO_NO_BRKTS_PCNT autolearn=no autolearn_force=no version=3.4.5-pre1 Date: 4 Jan 93 18:58:00 GMT From: nsisrv!robots!nbssal@ames.arc.nasa.gov (Stephe Leake) Subject: Re: CPU resources for embedded Ada programs Message-ID: <4JAN199313583867@robots> List-Id: In article , cffs@fox.nstn.ns.ca (Doug Brown) writes... > I recently recieved a copy of lessons learned report that covered two Ada >development projects. The projects were 50 and 80 KLOC, were real-time, >embedded military applications that ran 68K series processors. Based upon >the experience of these two projects, the authors suggested that embedded, >real-time Ada projects will require about 1 MB of RAM and 3 MIPS of CPU >power for every 20 KLOC. > > Are these numbers valid? Does anyone have any experience with similar >rules of thumb? Is it even possible to come up with rules of thumb such >as this, given the diverse nature of many Ada applications. Thanks. > >Doug Brown >cffs@fox.nstn.ns.ca I'm using Alsys Ada on 3 bare 16 Mhz 386/387 Multibus I boards, running a real-time robot control system with a basic servo cycle time of 20 milliseconds. There are 24K source lines of code, occupying about 500 kbytes of RAM. I don't know the MIPS rating, but only half the code is on the servo board, which has a 50% utilization. So my application and/or Alsys yeilds lower requirements than the above. Stephen Leake NASA Goddard Robotics Lab internet : nbssal@robots.gsfc.nasa.gov