Will not affect build. Add support for --enable-perf-metrics autoconf flag that will switch on the reporting of timing information about gecko's layout processes.

git-svn-id: svn://10.0.0.236/trunk@51342 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nisheeth%netscape.com
1999-10-21 02:01:49 +00:00
parent 6475343232
commit 3871dd508d
2 changed files with 8 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ MOZ_DEBUG_MODULES = @MOZ_DEBUG_MODULES@
MOZ_EXTENSIONS = @MOZ_EXTENSIONS@
MOZ_LOG_REFCNT = @MOZ_LOG_REFCNT@
MOZILLA_GPROF = @MOZILLA_GPROF@
MOZ_PERF_METRICS = @MOZ_PERF_METRICS@
MOZ_LEAKY = @MOZ_LEAKY@
BUILD_PROFILE = @MOZILLA_GPROF@
GC_LEAK_DETECTOR = @GC_LEAK_DETECTOR@

View File

@@ -2571,6 +2571,12 @@ MOZ_ARG_ENABLE_BOOL(gprof,
[ --enable-gprof Enable gprof symbols],
[ _GPROF_CFLAGS="-pg" ])
dnl Enable performance metrics.
MOZ_ARG_ENABLE_BOOL(perf-metrics,
[ --enable-perf-metrics Enable performance metrics],
MOZ_PERF=1
AC_DEFINE(MOZ_PERF_METRICS))
MOZ_ARG_ENABLE_BOOL(insure,
[ --enable-insure Enable insure++ instrumentation (linux only)],
[ MOZ_INSURE="insure" MOZ_INSURIFYING=1 MOZ_INSURE_DIRS="." MOZ_INSURE_EXCLUDE_DIRS="config" ])
@@ -2834,6 +2840,7 @@ AC_SUBST(MOZ_DEBUG)
AC_SUBST(MOZ_DEBUG_MODULES)
AC_SUBST(MOZ_EXTENSIONS)
AC_SUBST(MOZILLA_GPROF)
AC_SUBST(MOZ_PERF_METRICS)
AC_SUBST(GC_LEAK_DETECTOR)
AC_SUBST(MOZ_LOG_REFCNT)
AC_SUBST(MOZ_LEAKY)