summaryrefslogtreecommitdiff
path: root/lib/libc/gmon/gmon.c
AgeCommit message (Collapse)Author
1996-09-15Remove dead codeThorsten Lockert
Remove unused variables Silence some warnings lint(1) is your friend
1996-09-05protect getenv, do not oflow, fix unused debug; bitblt and deraadtTheo de Raadt
1996-08-19Fix RCS idsThorsten Lockert
Make sure everything uses {SYS,}LIBC_SCCS properly
1996-06-18use p->hashfraction when doing non-time-critical calculations, rather thanTheo de Raadt
using HASHFRACTION directly. in time-critical calculations, if HASHFRACTION is a power of two, check that p->hashfraction == HASHFRACTION and if so do the calculation with the compiled-in value so that the compiler can optimize out (potentially) expensive divisions. if p->hashfraction != HASHFRACTION, actually do the division. This has the result that on machines with slow division, the division can be optimized out of the common case, but that if HASHFRACTION changes from the compiled-in value (for whatever reason), profiling will still work. Changes suggested by Chris Torek.
1996-03-25Protect internal mcount symbol from lint(1)Thorsten Lockert
Use __asm, not asm
1995-12-14from cgd@netbsd:Theo de Raadt
kill a gratuitous cast of lowpc to an int Add support for PROFDIR environment variable
1995-10-18initial import of NetBSD treeTheo de Raadt