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: 103376,2a4e090733b9f44e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-24 06:11:00 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!lore.csc.com!baen1673807.greenlnk.net!baen1673807!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Task execution time Date: Tue, 24 Jun 2003 14:10:28 +0100 Organization: BAE SYSTEMS Message-ID: <3ef84d4f$1@baen1673807.greenlnk.net> References: <3EF841BD.7000906@noplace.com> NNTP-Posting-Host: 20.44.240.57 X-Trace: lore.csc.com 1056460259 11120 20.44.240.57 (24 Jun 2003 13:10:59 GMT) X-Complaints-To: abuse@news.csc.com NNTP-Posting-Date: Tue, 24 Jun 2003 13:10:59 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Original-NNTP-Posting-Host: glkc1363740.sd.edinbr.gmav.gecm.com X-Original-Trace: 24 Jun 2003 14:08:31 +0100, glkc1363740.sd.edinbr.gmav.gecm.com Xref: archiver1.google.com comp.lang.ada:39663 Date: 2003-06-24T14:10:28+01:00 List-Id: "Marin David Condic" wrote in message news:3EF841BD.7000906@noplace.com... > I took a peek at this briefly and I think it would be a nice feature to > have. But it could be a tough thing to do in a variety of platforms > where it would count most. (Incredibly useful in realtime embedded > systems with no OS and where you have to keep track of CPU utilization > to stay on budget.) Important to this would be an accurate method of > determining total CPU utilization versus wall time. I don't know if > AI-307 covers that since I just looked at the summary & didn't want to > pull the full text from the CVS tree. Yes, that's my take on it too. I think something useful could be added to, say VxWorks (taskHookLib) by a user implementation. But to acheive really good accuracy, I suspect will take the compiler vendor and OS provider to provide. For Win32, access the Task Manager Performance could be a useful implementation and again, for real accuracy, I suspect it's up to the compiler vendor and OS provider...