From: navarrop Date: Thu, 30 Sep 2010 11:00:46 +0000 (+0000) Subject: Add Tracking Latency bound option to cmake. X-Git-Tag: v3_5~522 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0f2e2d0a3c6e790f43f05da47d1f1bcf27b584a9 Add Tracking Latency bound option to cmake. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8302 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/buildtools/Cmake/CompleteInFiles.cmake b/buildtools/Cmake/CompleteInFiles.cmake index 639baa0fa6..3fc848f418 100644 --- a/buildtools/Cmake/CompleteInFiles.cmake +++ b/buildtools/Cmake/CompleteInFiles.cmake @@ -68,11 +68,16 @@ SET(HAVE_RUBY 0) set(HAVE_LUA 0) SET(HAVE_JAVA 0) SET(HAVE_TRACING 0) +SET(HAVE_LATENCY_BOUND_TRACKING 0) if(enable_tracing) SET(HAVE_TRACING 1) endif(enable_tracing) +if(enable_latency_bound_tracking) + SET(HAVE_LATENCY_BOUND_TRACKING 1) +endif(enable_latency_bound_tracking) + if(enable_model-checking AND HAVE_MMAP) SET(HAVE_MC 1) SET(MMALLOC_WANT_OVERIDE_LEGACY 1) diff --git a/buildtools/Cmake/Option.cmake b/buildtools/Cmake/Option.cmake index 302eea31df..49fc2593f6 100644 --- a/buildtools/Cmake/Option.cmake +++ b/buildtools/Cmake/Option.cmake @@ -34,6 +34,7 @@ option(enable_compile_warnings "" off) option(enable_maintainer_mode "Permit to make flex and flexml files." off) option(enable_supernovae "Supernovae mode." off) option(enable_tracing "Tracing MSG (for now) simulations for visualization." off) +option(enable_latency_bound_tracking "" off) option(enable_coverage "Enable coverage." off) option(enable_memcheck "Enable memcheck." off) option(enable_print_message "Enable print message during config." off) diff --git a/buildtools/Cmake/PrintArgs.cmake b/buildtools/Cmake/PrintArgs.cmake index 744a3b8a54..b34b70e5c5 100644 --- a/buildtools/Cmake/PrintArgs.cmake +++ b/buildtools/Cmake/PrintArgs.cmake @@ -171,6 +171,7 @@ message("") message(" Maintainer mode: ${enable_maintainer_mode}") message(" Supernovae mode: ${enable_supernovae}") message(" Tracing mode : ${enable_tracing}") +message(" Latency bound : ${enable_latency_bound_tracking}") message(" Model checking : ${enable_model-checking}") message(" Build SG doc : ${enable_doc}") message("") diff --git a/buildtools/Cmake/gras_config.h.in b/buildtools/Cmake/gras_config.h.in index dec1cd4ba3..210a3f1788 100644 --- a/buildtools/Cmake/gras_config.h.in +++ b/buildtools/Cmake/gras_config.h.in @@ -283,6 +283,9 @@ /* Tracing SimGrid */ #cmakedefine HAVE_TRACING @HAVE_TRACING@ +/* Tracking of latency bound */ +#cmakedefine HAVE_LATENCY_BOUND_TRACKING @HAVE_LATENCY_BOUND_TRACKING@ + /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD