Commit Graph

57 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
e4814bd9c5 Add two small new features to jprof:
1) Allow a SIGUSR1 to stop profiling, so that shutdown need not be included in profiles.  (The log file is not closed, so it can't be used to generate multiple profiles in one run.  That could be changed, though.)
2) Add a JP_REALTIME option that does the profiling in terms of real time elapsed rather than time used for execution by the mozilla process (and in the kernel for the process).  This allows profiling to detect how much time is being spent in the X server.
r=jim_nance@yahoo.com
Not part of default build.
2000-02-03 00:35:53 +00:00
dbaron%fas.harvard.edu
e0f8e72fc5 Fix the jprof makefile so that the libs are actually installed in the libs phase (like they are in makefiles that use rules.mk). Therefore, compiling a fresh or clobber build after building jprof will no longer fail when building the mozilla executable.
r=jim_nance@yahoo.com
Not part of default build.
2000-02-03 00:29:26 +00:00
dbaron%fas.harvard.edu
c5caa767e3 A fix (which can be enabled with a #define) to make jprof work on a RedHat 6.0 system (as opposed to 6.1). There seem two be two differences: some of the parameters are not passed correctly to the signal handler, and there is a trampoline on the stack with an address greater than 0x7fffffff.
r=jlnance
Not part of default build.
2000-01-31 21:32:10 +00:00
jim_nance%yahoo.com
56b0553957 Fixed documentation problem with units of JP_PERIOD 2000-01-29 20:39:48 +00:00
jim_nance%yahoo.com
15d294c8bb Print message to stdout on first timer tick.
Feature request from cbegle
r=cbegle
2000-01-28 02:21:38 +00:00
jim_nance%yahoo.com
59223d01ff Enhanced jprof documentation and code.
This is not part of the default build.
2000-01-25 02:46:30 +00:00
shaver%netscape.com
251c9cf4d5 import jprof for jlnance 2000-01-18 03:43:26 +00:00