diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-11-17 14:26:36 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-11-17 14:26:36 +0000 |
commit | bacac99192b65faed1a0047a8be5b95abf15873d (patch) | |
tree | c1ca0949f9cb222c8ef6305d8150ca4d9e85b4a7 /src/xine-utils/monitor.c | |
parent | 75a1024fb27dbff9c4bfc948392910af94797683 (diff) | |
download | xine-lib-bacac99192b65faed1a0047a8be5b95abf15873d.tar.gz xine-lib-bacac99192b65faed1a0047a8be5b95abf15873d.tar.bz2 |
Add 'xine_' prefix to all of xine-utils functions (what about cpu
acceleration?). Merge xine-utils header files to a new one "xineutils.h".
Update xine-lib C/headers to reflect those changes.
dxr3 headers are no more installed ine $includdir, but $includdir/xine.
CVS patchset: 1054
CVS date: 2001/11/17 14:26:36
Diffstat (limited to 'src/xine-utils/monitor.c')
-rw-r--r-- | src/xine-utils/monitor.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/xine-utils/monitor.c b/src/xine-utils/monitor.c index 9250ee2c4..f780baa77 100644 --- a/src/xine-utils/monitor.c +++ b/src/xine-utils/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.1 2001/10/22 00:52:10 guenter Exp $ + * $Id: monitor.c,v 1.2 2001/11/17 14:26:39 f1rmb Exp $ * * debug print and profiling functions - implementation * @@ -29,8 +29,7 @@ #include <stdio.h> #include <sys/time.h> -#include "utils.h" -#include "monitor.h" +#include "xineutils.h" #define MAX_ID 10 @@ -41,7 +40,7 @@ long long int profiler_start[MAX_ID] ; long profiler_calls[MAX_ID] ; char * profiler_label[MAX_ID] ; -void profiler_init () { +void xine_profiler_init () { int i; for (i=0; i<MAX_ID; i++) { profiler_times[i] = 0; @@ -51,7 +50,7 @@ void profiler_init () { } } -int profiler_allocate_slot (char *label) { +int xine_profiler_allocate_slot (char *label) { int id; for (id = 0; id < MAX_ID && profiler_label[id] != NULL; id++) @@ -74,7 +73,7 @@ __inline__ unsigned long long int rdtsc() } #endif -void profiler_start_count (int id) { +void xine_profiler_start_count (int id) { if ((unsigned)id >= MAX_ID) return; @@ -83,7 +82,7 @@ void profiler_start_count (int id) { #endif } -void profiler_stop_count (int id) { +void xine_profiler_stop_count (int id) { if ((unsigned)id >= MAX_ID) return; @@ -93,7 +92,7 @@ void profiler_stop_count (int id) { profiler_calls[id]++; } -void profiler_print_results () { +void xine_profiler_print_results () { int i; #ifdef ARCH_X86 |