Execution profiling - CODE COVERAGE

jin li jinli at gpu.utcs.toronto.edu
Mon Aug 29 05:07:42 AEST 1988


> From: mdr at reed.UUCP (Mike Rutenberg)
> Newsgroups: comp.lang.c
> Subject: Execution profiling - CODE COVERAGE
> Date: 27 Aug 88 20:57:00 GMT
> 
> I'm interested in finding a code coverage tool which
> will let me know (ideally in terms of C constructs,
> but assembler is fine) what portions of my program
> has not been executed during a run.  Does anyone know
> of such beasts (ideally running under unix)?
> ......

"prof -z" or "gprof -cz" will probably do what you want, but be sure to compile
your program with appopriate option(s).

--
Don't need fancy signature.
jinli at gpu.utcs.toronto.edu



More information about the Comp.lang.c mailing list