diff options
Diffstat (limited to 'src/xine-utils/monitor.c')
-rw-r--r-- | src/xine-utils/monitor.c | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/src/xine-utils/monitor.c b/src/xine-utils/monitor.c index e1a6ab57d..282f70e99 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.3 2002/03/21 21:30:51 guenter Exp $ + * $Id: monitor.c,v 1.4 2002/06/07 22:15:47 f1rmb Exp $ * * debug print and profiling functions - implementation * @@ -134,4 +134,29 @@ void xine_profiler_print_results () { } } + +#else /* DEBUG */ + +#define NO_PROFILER_MSG {printf("%s(): profiler is not enable.\n", __XINE_FUNCTION__);} + +/* Dummies */ +void xine_profiler_init (void) { + NO_PROFILER_MSG +} +int xine_profiler_allocate_slot (char *label) { + NO_PROFILER_MSG + return -1; +} +void xine_profiler_start_count (int id) { + NO_PROFILER_MSG +} +void xine_profiler_stop_count (int id) { + NO_PROFILER_MSG +} +void xine_profiler_print_results (void) { + NO_PROFILER_MSG +} + #endif + + |