BIND 10 trac2871, updated. dd0c9ba580d2b87324e3063de6f69d2bc8be5687 [2871] Empty benchmark binary

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Apr 4 09:13:18 UTC 2013


The branch, trac2871 has been updated
       via  dd0c9ba580d2b87324e3063de6f69d2bc8be5687 (commit)
      from  bf94c3c6175e20a65ff1418e4cba692abbae159b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit dd0c9ba580d2b87324e3063de6f69d2bc8be5687
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Thu Apr 4 11:06:26 2013 +0200

    [2871] Empty benchmark binary
    
    Create all the necessary makefiles and other stuff, to have a place to
    put the benchmarks to later.

-----------------------------------------------------------------------

Summary of changes:
 configure.ac                       |    1 +
 src/bin/resolver/Makefile.am       |    2 +-
 src/bin/resolver/bench/Makefile.am |   18 ++++++++++++++++++
 src/bin/resolver/bench/main.cc     |    3 +++
 4 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 src/bin/resolver/bench/Makefile.am
 create mode 100644 src/bin/resolver/bench/main.cc

-----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index eff05ec..511b422 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1190,6 +1190,7 @@ AC_CONFIG_FILES([Makefile
                  src/bin/dhcp4/tests/Makefile
                  src/bin/resolver/Makefile
                  src/bin/resolver/tests/Makefile
+                 src/bin/resolver/bench/Makefile
                  src/bin/sysinfo/Makefile
                  src/bin/sockcreator/Makefile
                  src/bin/sockcreator/tests/Makefile
diff --git a/src/bin/resolver/Makefile.am b/src/bin/resolver/Makefile.am
index 47e242c..a549e6a 100644
--- a/src/bin/resolver/Makefile.am
+++ b/src/bin/resolver/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = . tests
+SUBDIRS = . tests bench
 
 AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
 AM_CPPFLAGS += -I$(top_srcdir)/src/bin -I$(top_builddir)/src/bin
diff --git a/src/bin/resolver/bench/Makefile.am b/src/bin/resolver/bench/Makefile.am
new file mode 100644
index 0000000..da96881
--- /dev/null
+++ b/src/bin/resolver/bench/Makefile.am
@@ -0,0 +1,18 @@
+AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
+AM_CPPFLAGS += -I$(top_builddir)/src/lib/dns -I$(top_srcdir)/src/bin
+AM_CPPFLAGS += -I$(top_builddir)/src/lib/cc
+AM_CPPFLAGS += -I$(top_builddir)/src/bin/resolver
+AM_CPPFLAGS += $(BOOST_INCLUDES)
+
+AM_CXXFLAGS = $(B10_CXXFLAGS)
+
+if USE_STATIC_LINK
+AM_LDFLAGS = -static
+endif
+
+CLEANFILES = *.gcno *.gcda
+
+noinst_PROGRAMS = resolver-bench
+
+resolver_bench_SOURCES = main.cc
+resolver_bench_LDADD  = $(GTEST_LDADD)
diff --git a/src/bin/resolver/bench/main.cc b/src/bin/resolver/bench/main.cc
new file mode 100644
index 0000000..0a859ce
--- /dev/null
+++ b/src/bin/resolver/bench/main.cc
@@ -0,0 +1,3 @@
+int main(int, const char**) {
+    return 0;
+}



More information about the bind10-changes mailing list