🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.amiga.tech
1 messages
1 total messages Started by Rik slaven Thu, 06 Dec 1990 17:31
Execution Profiler Problem
#7245
Author: Rik slaven
Date: Thu, 06 Dec 1990 17:31
27 lines
1337 bytes
Environment:  SAS/Lattice C 5.10
	      Wb 1.3
	      SKsh 1.5

CFLAGS:	      -b0 -cfist -O -d1 -v

Source:	      Source code exists in multiple files, two of which are in
	      a separate directory.  Some files contain functions defined
	      as 'static'.

Problem:      When I use lprof and lstat, I get incorrect statistics for
	      functions:  namely, the output states that a function which
	      I do not call is called 32 % of the time.  Also, the output
	      indicates that function 'x' is defined in file 'y', when in
	      reality it is defined in file 'z'.

Questions:    1.  What's wrong?
	      2.  Does all source need to reside in the same directory
		  in order for lprof/lstat to work correctly?
	      3.  Does all source need to reside in the same file in
		  order for lprof/lstat to work correctly?
	      4.  Will lprof/lstat report correctly with 'static'
		  functions defined?

Any help would be greatly appreciated.

Rik Slaven
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads