[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash configure.ac ChangeLog
From: |
Rob Savoye |
Subject: |
[Gnash-commit] gnash configure.ac ChangeLog |
Date: |
Sat, 22 Mar 2008 17:15:44 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Rob Savoye <rsavoye> 08/03/22 17:15:44
Modified files:
. : configure.ac ChangeLog
Log message:
* configure.ac: Change --enable-statistics to --with-statistics
with settings for queues, buffers, and memory allocation as
separate values for more fined grained control. Currently these
are only used by Cygnal.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.497&r2=1.498
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5997&r2=1.5998
Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.497
retrieving revision 1.498
diff -u -b -r1.497 -r1.498
--- configure.ac 21 Mar 2008 21:46:54 -0000 1.497
+++ configure.ac 22 Mar 2008 17:15:43 -0000 1.498
@@ -785,6 +785,78 @@
dnl AC_CHECK_LIB(ltdl, lt_dlmutex_register, AC_DEFINE(LT_DLMUTEX, 1, [Has
lt_dlmutex_register]),
dnl AC_DEFINE(LT_DLMUTEX, 0, [doesn't
have lt_dlmutex_register]) )
+dnl These options are for Cygnal, which collects optional statistics on all
the network traffic
+dnl By default, we turn on statistics collecting for the incoming and outgoing
queues, since
+dnl those are required to be compatiable with FMS 3, and the ActionScript
server management API.
+dnl buffers are the lowest level data storage, this data is the time spent in
the queue, and is
+dnl primarily only used for tuning the queueing API in Gnash. Memoryis the
same, it's only used
+dnl by developers for tuning performance of memory allocations in Gnash.
+buffers=no
+que=yes
+memory=no
+AC_ARG_WITH(statistics,
+ AC_HELP_STRING([--with-statistics=], [Specify which statistics features to
enable]),
+ if test -n ${withval}; then
+ if test "x${withval}" != "xno"; then
+ extlist="${withval}"
+ withval=`echo ${withval} | tr '\054' ' ' `
+ else
+ extlist=""
+ withval=""
+ fi
+ fi
+ statistics_list=""
+ nstatistics=0
+ while test -n "${withval}" ; do
+ val=`echo ${withval} | cut -d ' ' -f 1`
+ [case "${val}" in
+ buffers)
+ buffers=yes
+ nstatistics=$((nstatistics+1))
+ ;;
+ que)
+ que=yes
+ nstatistics=$((nstatistics+1))
+ ;;
+ memory)
+ memory=yes
+ nstatistics=$((nstatistics+1))
+ ;;
+ all|ALL)
+ buffers=yes
+ memory=yes
+ queu=yes
+ nstatistics=3
+ ;;
+ *) AC_MSG_ERROR([invalid statistics feature specified: ${withval} given
(accept: buffers|que|memory|all)])
+ ;;
+ esac]
+ withval=`echo ${withval} | cut -d ' ' -f 2-6`
+ if test "x$val" = "x$withval"; then
+ break;
+ fi
+ done
+)
+if test x${buffers} = xyes; then
+ statistics_list="${statistics_list} buffers"
+ AC_DEFINE(USE_STATS_BUFFERS, [1], [Support statistics collecting for the
queue buffers])
+ AC_MSG_WARN([This option will effect your performance])
+fi
+
+if test x${memory} = xyes; then
+ statistics_list="${statistics_list} memory"
+ AC_DEFINE(USE_STATS_MEMORY, [1], [Support statistics collecting for all
memory profiling])
+ AC_MSG_WARN([This option will effect your performance])
+fi
+
+if test x${que} = xyes; then
+ statistics_list="${statistics_list} queues"
+ AC_DEFINE(USE_STATS_QUEUE, [1], [Support statistics collecting for the
queues])
+fi
+dnl this is just so Makefile can print the same list
+STATISTICS_LIST="$statistics_list"
+AC_SUBST(STATISTICS_LIST)
+
#
# These settings are compile time options for the security
# setting for anything that lets gnash exchange data with
@@ -2009,6 +2081,10 @@
echo " Enabling security features: ${security_list}"
fi
+if test x"$statistics_list" != x; then
+ echo " Enabling statistics collecting for: ${statistics_list}"
+fi
+
if test x"${SUPPORTED_GUIS}" = x; then
AC_MSG_ERROR(no supported GUIs found);
fi
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5997
retrieving revision 1.5998
diff -u -b -r1.5997 -r1.5998
--- ChangeLog 22 Mar 2008 14:13:26 -0000 1.5997
+++ ChangeLog 22 Mar 2008 17:15:43 -0000 1.5998
@@ -1,3 +1,10 @@
+2008-03-22 Rob Savoye <address@hidden>
+
+ * configure.ac: Change --enable-statistics to --with-statistics
+ with settings for queues, buffers, and memory allocation as
+ separate values for more fined grained control. Currently these
+ are only used by Cygnal.
+
2008-03-22 Dossy Shiobara <address@hidden>
* libbase/tu_file.cpp (1.25): gettext 0.17 redefines printf in