diff options
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r-- | src/xine-engine/xine.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 6123aa18d..5b30316ff 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.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: xine.c,v 1.40 2001/08/13 12:52:33 ehasenle Exp $ + * $Id: xine.c,v 1.41 2001/08/14 11:57:40 guenter Exp $ * * top-level xine functions * @@ -328,6 +328,9 @@ void xine_exit (xine_t *this) { this->status = XINE_QUIT; printf ("xine_exit: bye!\n"); + + profiler_print_results (); + } void xine_pause (xine_t *this) { @@ -415,6 +418,13 @@ xine_t *xine_init (vo_driver_t *vo, xine_debug = config->lookup_int (config, "xine_debug", 0); /* + * set up profiler + */ + profiler_set_label (0, "video decoder "); + profiler_set_label (1, "audio decoder/output "); + profiler_set_label (2, "video output "); + + /* * init lock */ |