cprofile always on
This commit is contained in:
parent
b82588848d
commit
e190ff9f84
@ -1,7 +1,5 @@
|
|||||||
#include "syslib.h"
|
#include "syslib.h"
|
||||||
|
|
||||||
#if CPROFILE
|
|
||||||
|
|
||||||
/*===========================================================================*
|
/*===========================================================================*
|
||||||
* sys_cprof *
|
* sys_cprof *
|
||||||
*===========================================================================*/
|
*===========================================================================*/
|
||||||
@ -23,5 +21,3 @@ void *mem_ptr; /* location of allocated memory */
|
|||||||
return(_taskcall(SYSTASK, SYS_CPROF, &m));
|
return(_taskcall(SYSTASK, SYS_CPROF, &m));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|||||||
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
#include <minix/config.h>
|
#include <minix/config.h>
|
||||||
|
|
||||||
#if CPROFILE
|
|
||||||
|
|
||||||
/*===========================================================================*
|
/*===========================================================================*
|
||||||
* sys_profbuf *
|
* sys_profbuf *
|
||||||
*===========================================================================*/
|
*===========================================================================*/
|
||||||
@ -19,5 +17,3 @@ void *mem_ptr; /* pointer to profiling table */
|
|||||||
return(_taskcall(SYSTASK, SYS_PROFBUF, &m));
|
return(_taskcall(SYSTASK, SYS_PROFBUF, &m));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|||||||
@ -12,8 +12,6 @@
|
|||||||
|
|
||||||
#include <lib.h>
|
#include <lib.h>
|
||||||
|
|
||||||
#if CPROFILE
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -284,5 +282,3 @@ PRIVATE void clear_tbl()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CPROFILE */
|
|
||||||
|
|
||||||
|
|||||||
@ -13,8 +13,6 @@
|
|||||||
|
|
||||||
#include <lib.h>
|
#include <lib.h>
|
||||||
|
|
||||||
#if CPROFILE
|
|
||||||
|
|
||||||
#include <minix/profile.h>
|
#include <minix/profile.h>
|
||||||
#include <minix/syslib.h>
|
#include <minix/syslib.h>
|
||||||
|
|
||||||
@ -44,5 +42,3 @@ void *tbl_ptr;
|
|||||||
sys_profbuf(ctl_ptr, tbl_ptr);
|
sys_profbuf(ctl_ptr, tbl_ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CPROFILE */
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user