From f92452da4fd4612bd13db1bd66e514fa14d57003 Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Thu, 6 Sep 2001 13:39:36 +0000 Subject: Profiler updated to use clock cycle based profiling CVS patchset: 579 CVS date: 2001/09/06 13:39:36 --- src/xine-engine/monitor.c | 77 ++++++++++++++++++++++++++++++++++------------- 1 file changed, 56 insertions(+), 21 deletions(-) (limited to 'src') diff --git a/src/xine-engine/monitor.c b/src/xine-engine/monitor.c index 7d9052dd7..ed490c89c 100644 --- a/src/xine-engine/monitor.c +++ b/src/xine-engine/monitor.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: monitor.c,v 1.3 2001/09/01 17:10:01 jkeil Exp $ + * $Id: monitor.c,v 1.4 2001/09/06 13:39:36 jkeil Exp $ * * debug print and profiling functions - implementation * @@ -27,12 +27,10 @@ #include "config.h" #endif -#include "monitor.h" #include #include -#include -#include - +#include "utils.h" +#include "monitor.h" #define MAX_ID 5 @@ -40,6 +38,7 @@ long long int profiler_times[MAX_ID] ; long long int profiler_start[MAX_ID] ; +long profiler_calls[MAX_ID] ; char * profiler_label[MAX_ID] ; void profiler_init () { @@ -47,6 +46,7 @@ void profiler_init () { for (i=0; i