comp.lang.ada
 help / color / mirror / Atom feed
* Group execution time budgets and multicore
@ 2009-04-20 21:25 Maciej Sobczak
  0 siblings, 0 replies; only message in thread
From: Maciej Sobczak @ 2009-04-20 21:25 UTC (permalink / raw)


The group execution time budgets (AARM D.14.2) defines operations that
allow to monitor and manage the time that is being consumed by a group
of tasks.

It does not, however, specify the semantics of this consumption in
multiprocessor or multicore environments.
Consider, for example, two tasks in a group running on a dual core
machine and where the implementation can physically execute them both
in parallel. Each task takes 10ms to execute. They run together, so
the whole takes 10ms as well, although they are able to perform 20ms
"worth" of work.

What is the actual budget consumed by these two tasks? If the budget
is 15ms, will it exhaust?

Does D.14-22.2 (the requirement on the implementation to document the
mechanisms used to measure execution times) apply here?

--
Maciej Sobczak * www.msobczak.com * www.inspirel.com

Database Access Library for Ada: www.inspirel.com/soci-ada



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-20 21:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-20 21:25 Group execution time budgets and multicore Maciej Sobczak

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