From 668979ee65340892d6cdc10e02d991ce1279aefc Mon Sep 17 00:00:00 2001
From: Sebastian Eibl <sebastian.eibl@fau.de>
Date: Thu, 8 Aug 2019 11:06:50 +0200
Subject: [PATCH] [ADD] timer output to granular gas benchmark

---
 apps/benchmarks/GranularGas/MESA_PD_GranularGas.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/apps/benchmarks/GranularGas/MESA_PD_GranularGas.cpp b/apps/benchmarks/GranularGas/MESA_PD_GranularGas.cpp
index d6b241e02..ba2bf619e 100644
--- a/apps/benchmarks/GranularGas/MESA_PD_GranularGas.cpp
+++ b/apps/benchmarks/GranularGas/MESA_PD_GranularGas.cpp
@@ -347,6 +347,11 @@ int main( int argc, char ** argv )
          stringProperties["tag"]                  = "mesa_pd";
          integerProperties["mpi_num_processes"]   = mpiManager->numProcesses();
          integerProperties["omp_max_threads"]     = omp_get_max_threads();
+         realProperties["PUpS"]                   = double_c(PUpS);
+         realProperties["timer_min"]              = timer_reduced->min();
+         realProperties["timer_max"]              = timer_reduced->max();
+         realProperties["timer_average"]          = timer_reduced->average();
+         realProperties["timer_total"]            = timer_reduced->total();
          integerProperties["outerIteration"]      = int64_c(outerIteration);
          integerProperties["num_particles"]       = numParticles;
          integerProperties["num_ghost_particles"] = numGhostParticles;
-- 
GitLab