comp.lang.ada
 help / color / mirror / Atom feed
* Task execution time
@ 2003-06-23 13:44 Lionel.DRAGHI
  2003-06-23 14:00 ` Task execution time (writing a scheduler) Larry Kilgallen
  2003-06-23 14:51 ` Task execution time Martin Dowie
  0 siblings, 2 replies; 6+ messages in thread
From: Lionel.DRAGHI @ 2003-06-23 13:44 UTC (permalink / raw)
  To: comp.lang.ada

There is a general agreement that the only feature missing in Ada to fully
code flexible schedulers is a way to get task execution time.

Is there any ongoing proposal for the next language revision?


-- 
Lionel Draghi



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Task execution time (writing a scheduler)
  2003-06-23 13:44 Task execution time Lionel.DRAGHI
@ 2003-06-23 14:00 ` Larry Kilgallen
  2003-06-23 14:51 ` Task execution time Martin Dowie
  1 sibling, 0 replies; 6+ messages in thread
From: Larry Kilgallen @ 2003-06-23 14:00 UTC (permalink / raw)


In article <mailman.4.1056375821.8204.comp.lang.ada@ada.eu.org>, Lionel.DRAGHI@fr.thalesgroup.com writes:
> There is a general agreement that the only feature missing in Ada to fully
> code flexible schedulers is a way to get task execution time.

In what forum was that general agreement reached ?

After 24 years on the market, VMS has rather extensive hooks for coding
such schedulers, but it took many years to get to that point.  There are
many IO-related OS primitive measurements needed to achieve fairness.

I presume you intended that the schedulers be adequate to meet needs
rather than merely being flexible.  I can make a scheduler much more
flexible by adding an larger color palatte from which to enhance the
logo it displays on a screen.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Task execution time
  2003-06-23 13:44 Task execution time Lionel.DRAGHI
  2003-06-23 14:00 ` Task execution time (writing a scheduler) Larry Kilgallen
@ 2003-06-23 14:51 ` Martin Dowie
  2003-06-23 15:15   ` Martin Dowie
  2003-06-24 12:19   ` Marin David Condic
  1 sibling, 2 replies; 6+ messages in thread
From: Martin Dowie @ 2003-06-23 14:51 UTC (permalink / raw)


<Lionel.DRAGHI@fr.thalesgroup.com> wrote in message
news:mailman.4.1056375821.8204.comp.lang.ada@ada.eu.org...
> There is a general agreement that the only feature missing in Ada to fully
> code flexible schedulers is a way to get task execution time.
>
> Is there any ongoing proposal for the next language revision?

http://www.ada-auth.org/AI-SUMMARY.HTML

Is AI-307 what you're after?





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Task execution time
  2003-06-23 14:51 ` Task execution time Martin Dowie
@ 2003-06-23 15:15   ` Martin Dowie
  2003-06-24 12:19   ` Marin David Condic
  1 sibling, 0 replies; 6+ messages in thread
From: Martin Dowie @ 2003-06-23 15:15 UTC (permalink / raw)



"Martin Dowie" <martin.dowie@no.spam.btopenworld.com> wrote in message
news:bd746a$54p$1@titan.btinternet.com...
> <Lionel.DRAGHI@fr.thalesgroup.com> wrote in message
> news:mailman.4.1056375821.8204.comp.lang.ada@ada.eu.org...
> > There is a general agreement that the only feature missing in Ada to
fully
> > code flexible schedulers is a way to get task execution time.

Oops - I see you don't literally mean "get task execution time" :-)





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Task execution time
  2003-06-23 14:51 ` Task execution time Martin Dowie
  2003-06-23 15:15   ` Martin Dowie
@ 2003-06-24 12:19   ` Marin David Condic
  2003-06-24 13:10     ` Martin Dowie
  1 sibling, 1 reply; 6+ messages in thread
From: Marin David Condic @ 2003-06-24 12:19 UTC (permalink / raw)


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.

MDC

Martin Dowie wrote:
> 
> 
> http://www.ada-auth.org/AI-SUMMARY.HTML
> 
> Is AI-307 what you're after?
> 
> 


-- 
======================================================================
Marin David Condic
I work for: http://www.belcan.com/
My project is: http://www.jast.mil/

Send Replies To: m c o n d i c @ a c m . o r g

     "In general the art of government consists in taking as
     much money as possible from one class of citizens to give
     to the other."

         --  Voltaire
======================================================================




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Task execution time
  2003-06-24 12:19   ` Marin David Condic
@ 2003-06-24 13:10     ` Martin Dowie
  0 siblings, 0 replies; 6+ messages in thread
From: Martin Dowie @ 2003-06-24 13:10 UTC (permalink / raw)


"Marin David Condic" <nobody@noplace.com> 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...





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-06-24 13:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-23 13:44 Task execution time Lionel.DRAGHI
2003-06-23 14:00 ` Task execution time (writing a scheduler) Larry Kilgallen
2003-06-23 14:51 ` Task execution time Martin Dowie
2003-06-23 15:15   ` Martin Dowie
2003-06-24 12:19   ` Marin David Condic
2003-06-24 13:10     ` Martin Dowie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox