racket/s
Chris Frisz 477698d4a8 Fix profile counters for non-s-expression source
Check both the beginning file pointer (bfp) and end file pointer (efp)
of the source location associated with a profile counter when updating
its count.

Assuming that each expression has a unique bfp with respect to profiling
seems to give accurate execution counts for s-expression-based source
locations as in Scheme, but causes problems when targeting other kinds
of syntax. For instance, a C-style function call, referencing the called
function by name, such as "fn(arg)", can logically have profile counters
associated with 1) the function name reference ("fn") and 2) the entire
function call expression ("fn(arg)"), both of which begin at the same
source location. Only the bfp is checked when updating profile counters,
so the two source locations are conflated, and only one counter is
incremented, which gives inaccurate execution counts for both locations;
approximately twice as many for one, and zero for the other.

original commit: d364b05c3c9cd2b299fc20a6f5ec255ab7bd6718
2016-11-02 15:14:34 -04:00
..
4.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
5_1.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
5_2.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
5_3.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
5_4.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
5_6.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
5_7.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
6.ss - Cygwin is now used on Windows, updated mats, eliminated unused killme 2016-06-10 10:07:07 -04:00
7.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
a6fb.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
a6le.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
a6nb.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
a6nt.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
a6ob.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
a6osx.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
a6s2.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
arm32.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
arm32le.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
back.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
base-lang.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
bytevector.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
cafe.ss - instead of default-exception handler, new-cafe establishes a handler 2016-08-21 10:54:26 -04:00
cback.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
cmacros.ss * updated version to 9.4.1 2016-05-17 00:18:33 -04:00
compile.ss - compile-whole-program and compile-whole-library now copy the hash-bang 2016-05-04 20:35:38 -04:00
costctr.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
cp0.ss - fixed a side-effect preservation bug with non-trivial test-context 2016-08-14 10:19:22 -04:00
cpcheck.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
cpletrec.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
cpnanopass.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
cprep.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
cpvalid.ss - fixed a bug in cpvalid resulting in it leaving behind a cpvalid-defer 2016-08-07 23:36:40 -04:00
date.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
debug.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
engine.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
enum.ss Fix typos involving articles. 2016-04-28 11:01:10 +07:00
env.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
event.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
exceptions.ss - modified floatify_normalize to properly round denormalized results and 2016-05-01 16:05:40 -04:00
expand-lang.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
expeditor.ss - add unicode support to the expression editor. entry and display now work 2016-07-20 21:54:50 -04:00
fasl-helpers.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
fasl.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
foreign.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
format.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
front.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
ftype.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
hashtable-types.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
i3fb.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
i3le.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
i3nb.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
i3nt.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
i3ob.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
i3osx.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
i3qnx.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
i3s2.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
inspect.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
interpret.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
io-types.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
io.ss Fix a minor inconsistency. 2016-05-12 19:57:24 -04:00
layout.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
library.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
mathprims.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-a6fb initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-a6le initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-a6nb initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-a6nt - Cygwin is now used on Windows, updated mats, eliminated unused killme 2016-06-10 10:07:07 -04:00
Mf-a6ob initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-a6osx initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-a6s2 initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-arm32le initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-base s/Mf-base now uses ../bin/$m/scheme instead of symbolic link ../bin/scheme 2016-06-28 14:32:08 -04:00
Mf-cross initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-i3fb initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-i3le initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-i3nb initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-i3nt - Cygwin is now used on Windows, updated mats, eliminated unused killme 2016-06-10 10:07:07 -04:00
Mf-i3ob initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-i3osx initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-i3qnx initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-i3s2 initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-ppc32le initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-ta6fb initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-ta6le initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-ta6nb initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-ta6nt - Cygwin is now used on Windows, updated mats, eliminated unused killme 2016-06-10 10:07:07 -04:00
Mf-ta6ob initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-ta6osx initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-ta6s2 initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-ti3fb initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-ti3le initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-ti3nb initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-ti3nt - Cygwin is now used on Windows, updated mats, eliminated unused killme 2016-06-10 10:07:07 -04:00
Mf-ti3ob initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-ti3osx initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-ti3s2 initial upload of open-source release 2016-04-26 10:04:54 -04:00
Mf-tppc32le initial upload of open-source release 2016-04-26 10:04:54 -04:00
mkheader.ss - The scheme.h definition of Sfixnum(x) now uses multiply rather than 2016-04-26 17:16:02 -04:00
newhash.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
np-languages.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
patch.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
pdhtml.ss Fix profile counters for non-s-expression source 2016-11-02 15:14:34 -04:00
ppc32.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
ppc32le.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
pretty.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
primdata.ss - added tests for the case and exclusive-cond syntax-error calls 2016-08-22 21:41:53 -04:00
priminfo.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
primref.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
prims.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
primvars.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
print.ss - added tests for the case and exclusive-cond syntax-error calls 2016-08-22 21:41:53 -04:00
read.ss - modified floatify_normalize to properly round denormalized results and 2016-05-01 16:05:40 -04:00
record.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
reloc.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
setup.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
strip.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
strnum.ss minor edits to to strnum.ss comments and LOG. rebuilt boot files. 2016-05-01 21:33:49 -04:00
syntax.ss - fixed a bug in case and exclusive-cond syntax-error calls causing an 2016-08-21 23:38:57 -04:00
ta6fb.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
ta6le.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
ta6nb.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
ta6nt.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
ta6ob.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
ta6osx.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
ta6s2.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
ti3fb.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
ti3le.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
ti3nb.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
ti3nt.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
ti3ob.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
ti3osx.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
ti3s2.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
tppc32le.def initial upload of open-source release 2016-04-26 10:04:54 -04:00
trace.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
types.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
ubify.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
x86_64.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00
x86.ss initial upload of open-source release 2016-04-26 10:04:54 -04:00