mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
Add a trivial source for tracking gst_init time accross versions.
This commit is contained in:
parent
6a310840af
commit
dab725ee69
2 changed files with 38 additions and 1 deletions
|
@ -1,4 +1,10 @@
|
|||
noinst_PROGRAMS = caps mass-elements complexity gstpollstress
|
||||
noinst_PROGRAMS = \
|
||||
caps \
|
||||
complexity \
|
||||
init \
|
||||
mass-elements \
|
||||
gstpollstress
|
||||
|
||||
LDADD = $(GST_OBJ_LIBS)
|
||||
AM_CFLAGS = $(GST_OBJ_CFLAGS)
|
||||
|
||||
|
|
31
tests/benchmarks/init.c
Normal file
31
tests/benchmarks/init.c
Normal file
|
@ -0,0 +1,31 @@
|
|||
/* GStreamer
|
||||
* Copyright (C) 2006 Stefan Kost <stefan.kost@nokia.com>
|
||||
*
|
||||
* init.c: benchmark gst initialisation
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
gint
|
||||
main (gint argc, gchar * argv[])
|
||||
{
|
||||
gst_init (&argc, &argv);
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue