comp.lang.ada
 help / color / mirror / Atom feed
From: daelen@my-deja.com
Subject: gcov in multithreaded applications
Date: 2000/08/30
Date: 2000-08-30T00:00:00+00:00	[thread overview]
Message-ID: <8oip2j$ut0$1@nnrp1.deja.com> (raw)

I am working with Gnat 3.13a on Windows NT 4.0.

I would like to use gcov to profile our application containing several
tasks.
The problem is that the da-files are written when the application exits,
but because most tasks contain infinit loops, the main program will not
exit.
I tried Win32.Winbase.ExitProcess but no da-files are written then.

- so how to write intermediate profiling info to the da-files without
having to exit the application.
- or how to exit or terminate the application in such a way that the da-
files are written.
Note that aborting the tasks is not an option because not all tasks-
names are known or in scope.

Regards,
Jorg van Daelen


Sent via Deja.com http://www.deja.com/
Before you buy.




             reply	other threads:[~2000-08-30  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-30  0:00 daelen [this message]
2000-08-30  0:00 ` gcov in multithreaded applications Robert A Duff
2000-08-31 21:58 ` Jean-Pierre Rosen
2000-09-07 23:44 ` Dr Adrian Wrigley
replies disabled

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