diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-08-14 11:57:40 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-08-14 11:57:40 +0000 |
commit | dc1ae5d9a88fdf89ab3de73380fefb0e70316305 (patch) | |
tree | a823d32a10c85e57fec38ca6ae33231169c4d7a8 /src/xine-engine/xine.c | |
parent | 79afb1ee5937876ef0c6b27c2e33370890003a36 (diff) | |
download | xine-lib-dc1ae5d9a88fdf89ab3de73380fefb0e70316305.tar.gz xine-lib-dc1ae5d9a88fdf89ab3de73380fefb0e70316305.tar.bz2 |
return of the profiler
CVS patchset: 428
CVS date: 2001/08/14 11:57:40
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 */ |