17 Aoû
2008
17 Aoû
'08
17:05
Christian Jaeger wrote:
Bradley Lucier wrote:
I guess any improvement from here on will require access to the data and profiling.
Someone should write a wiki page explaining profiling of Gambit code. Here's a link which shows the two variants I'm aware of:
https://webmail.iro.umontreal.ca/pipermail/gambit-list/2006-January/000568.h...
Sorry, hit the send button too soon. This assumes how the old gsc worked (it did just generate the .c files at that time): $ gsc -track-scheme proftest.scm $ gcc -fprofile-arcs -ftest-coverage -D___SINGLE_HOST proftest.c proftest_.c -lgambc This is how you should be able to do it nowadays: $ gsc -track-scheme -cc-options "-fprofile-arcs -ftest-coverage" proftest.scm Christian.