patches to Ricardo Lopes' low level profiler: enable if SIGPROF is
there, do sorting, init PROFPREDS when you start counters, keep time stamps for eventual assert/retract, and use qsort (3) to do less work. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@829 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -105,7 +105,8 @@ static int eof_found = FALSE;
|
||||
static int yap_lineno = 0;
|
||||
|
||||
#ifdef DEBUG
|
||||
static void myputc (int ch)
|
||||
static void
|
||||
myputc (int ch)
|
||||
{
|
||||
putc(ch,stderr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user