[vlc-devel] vlc: svn commit r14012 (zorglub)

Subversion daemon svn at videolan.org
Tue Jan 24 23:42:17 CET 2006

r14012 | zorglub | 2006-01-24 23:42:16 +0100 (Tue, 24 Jan 2006) | 14 lines
Changed paths:
   M /trunk/include/vlc_common.h
   M /trunk/include/vlc_messages.h
   M /trunk/include/vlc_symbols.h
   M /trunk/src/misc/stats.c
   M /trunk/src/playlist/playlist.c

Add a timing facility (Refs:#473)

It is only available in debug mode.

To use: stats_TimerStart( vlc_object_t* , char *name );
stats_TimerStop( vlc_object_t *, char *name );

stats_TimerDump( vlc_object_t* , char *name ) will print a line

TIMER name : last_time - total_time / number of samples (average time)

stats_TimersDumpAll is not implemented yet

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list