comp.lang.ada
 help / color / mirror / Atom feed
* Determining Rendezvous Availability
@ 1990-11-28 22:27 Thomas McVittie
  1990-11-29 14:27 ` David Emery
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas McVittie @ 1990-11-28 22:27 UTC (permalink / raw)


I am currently involved in a research program aimed towards measuring
the reliability of Ada programs.   Key to our understanding of these
programs is the development of a series of static and dynamic measures
of the programs themselves.  One area we are interested is in measuring
the number of rendezvous which are open (i.e. the task is willing and able
to accept a particular rendezvous) at a given time.  

I can use the predefined attribute 'CALLABLE to determine whether a task
is alive (not terminated, completed or abnormal), but don't seem to be
able to determine whether the rendezvous is available or not.  Obviously
I could use our VADS debugger and ask for a listing of tasks (lt).  But
the programs which we are analyzing make extensive use of the CLOCK 
function when scheduling events, so stopping and restarting the program
dramatically change the behavior of the program.

Any suggestions ?

------------------------------------------------------------------------
    Thomas McVittie               |  email : mcvittie@faulty.ucsb.edu
    Dependable Computing Center   |  phone : (805) 893-8356
------------------------------------------------------------------------

+----------------------------------------------------------------------+
|  Dependable Computing Lab       |  email  : mcvittie@faulty.ucsb.edu |
|  Engineering I - ECE  #31       |                                    |
|  University of California       |  telefax : (805) 961-3262          |

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

* Re: Determining Rendezvous Availability
  1990-11-28 22:27 Determining Rendezvous Availability Thomas McVittie
@ 1990-11-29 14:27 ` David Emery
  0 siblings, 0 replies; 2+ messages in thread
From: David Emery @ 1990-11-29 14:27 UTC (permalink / raw)


>From: aleph@lime.ucsb.edu (Thomas McVittie)
>I could use our VADS debugger and ask for a listing of tasks (lt).  But
>the programs which we are analyzing make extensive use of the CLOCK 
>function when scheduling events, so stopping and restarting the program
>dramatically change the behavior of the program.

I suspect you'll always have a problem trying to get the information
you want without affecting the basic program.  Ever hear of a guy
named Heisenberg?  

Your best bet is to get the information from the runtime environment,
which of course makes your code very non-portable.  

				dave emery
				emery@aries.mitre.org

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

end of thread, other threads:[~1990-11-29 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1990-11-28 22:27 Determining Rendezvous Availability Thomas McVittie
1990-11-29 14:27 ` David Emery

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