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:
vsc
2003-05-20 19:11:59 +00:00
parent d22fe2107c
commit 0afb07931f
14 changed files with 2736 additions and 1655 deletions

View File

@@ -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);
}