Bug 604849 - Port |Bug 480735 - Startup timeline| to comm-central; (Av1) Just copy it.
authorSerge Gautherie <sgautherie.bz@free.fr>
Sat, 30 Oct 2010 13:49:03 +0200
changeset 6616 33dc536f1e129dd8c271c060264fadb1120d12e7
parent 6615 e63657b53b57876ecb6f7648298a841333b3de2c
child 6617 35823b7d607ad3ae68f6fa2cb7fe75e02b1a4d73
push idunknown
push userunknown
push dateunknown
bugs604849, 480735
Bug 604849 - Port |Bug 480735 - Startup timeline| to comm-central; (Av1) Just copy it. r=Callek.
configure.in
--- a/configure.in
+++ b/configure.in
@@ -6017,16 +6017,28 @@ MOZ_ARG_ENABLE_BOOL(timeline,
 [  --enable-timeline       Enable timeline services ],
     MOZ_TIMELINE=1,
     MOZ_TIMELINE= )
 if test -n "$MOZ_TIMELINE"; then
     AC_DEFINE(MOZ_TIMELINE)
 fi
 
 dnl ========================================================
+dnl = Enable NS_FUNCTION_TIMER, which provides Function
+dnl = timing for identifying code bottlenecks
+dnl = NS_FUNCTION_TIMER is off by default.
+dnl ========================================================
+MOZ_ARG_ENABLE_BOOL(functiontimer,
+[  --enable-functiontimer  Enable NS_FUNCTION_TIMER ],
+    NS_FUNCTION_TIMER=1,
+    NS_FUNCTION_TIMER= )
+if test -n "$NS_FUNCTION_TIMER"; then
+    AC_DEFINE(NS_FUNCTION_TIMER)
+fi
+
 dnl Enable code size metrics.
 dnl ========================================================
 MOZ_ARG_ENABLE_BOOL(codesighs,
 [  --enable-codesighs      Enable code size analysis tools],
     _ENABLE_CODESIGHS=1,
     _ENABLE_CODESIGHS= )
 if test -n "$_ENABLE_CODESIGHS"; then
     if test -d $MOZILLA_SRCDIR/tools/codesighs; then