[MOAB-dev] r4393 - MOAB/trunk/test/perf

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Mon Dec 20 16:00:22 CST 2010


Author: kraftche
Date: 2010-12-20 16:00:22 -0600 (Mon, 20 Dec 2010)
New Revision: 4393

Added:
   MOAB/trunk/test/perf/perftool.cpp
Modified:
   MOAB/trunk/test/perf/Makefile.am
Log:
Bring back old tools/mbperf as test/perftool, with some changes:
  - remove timing of mesh creation and query that are duplicated in other tools
  - including timing of tag query from branches/jk-direct-tag



Modified: MOAB/trunk/test/perf/Makefile.am
===================================================================
--- MOAB/trunk/test/perf/Makefile.am	2010-12-20 21:38:12 UTC (rev 4392)
+++ MOAB/trunk/test/perf/Makefile.am	2010-12-20 22:00:22 UTC (rev 4393)
@@ -1,17 +1,19 @@
 
 AM_CPPFLAGS += -I$(top_srcdir)/src \
                -I$(top_srcdir)/src/io/mhdf/include \
-               -I$(top_builddir)/src 
+               -I$(top_builddir)/src \
+               -DIS_BUILDING_MB
             
 LDADD = $(top_builddir)/src/libMOAB.la
 
-check_PROGRAMS = perf seqperf adj_time
-noinst_PROGRAMS = point_in_elem
+check_PROGRAMS = perf seqperf adj_time perftool
+noinst_PROGRAMS = point_in_elem 
 
 perf_SOURCES = perf.cpp
 seqperf_SOURCES = seqperf.cpp
 adj_time_SOURCES = adj_time.cpp
 point_in_elem_SOURCES = point_in_elem.cpp
+perftool_SOURCES = perftool.cpp
 
 if ENABLE_imesh
   LDADD += $(top_builddir)/itaps/imesh/libiMesh.la

Copied: MOAB/trunk/test/perf/perftool.cpp (from rev 4392, MOAB/branches/jk-direct-tag/tools/mbperf/mbperf.cpp)
===================================================================
--- MOAB/trunk/test/perf/perftool.cpp	                        (rev 0)
+++ MOAB/trunk/test/perf/perftool.cpp	2010-12-20 22:00:22 UTC (rev 4393)
@@ -0,0 +1,414 @@
+/**
+ * MOAB, a Mesh-Oriented datABase, is a software component for creating,
+ * storing and accessing finite element mesh data.
+ * 
+ * Copyright 2004 Sandia Corporation.  Under the terms of Contract
+ * DE-AC04-94AL85000 with Sandia Coroporation, the U.S. Government
+ * retains certain rights in this software.
+ * 
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ * 
+ */
+
+// MOAB performance tests building mapped mesh with nodes and
+// hexes created one at a time.  This also creates the node to hex adjacencies.
+


More information about the moab-dev mailing list