Commit 3b2a7cda authored by drossostum's avatar drossostum

swe_mpi now instrumented

Signed-off-by: 's avatardrossostum <drevangel@mytum.de>
parent c0b88cc6
...@@ -35,6 +35,8 @@ ...@@ -35,6 +35,8 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "epik_user.h"
#ifndef CUDA #ifndef CUDA
#include "blocks/SWE_WavePropagationBlock.hh" #include "blocks/SWE_WavePropagationBlock.hh"
#else #else
...@@ -442,6 +444,8 @@ int main( int argc, char** argv ) { ...@@ -442,6 +444,8 @@ int main( int argc, char** argv ) {
unsigned int l_iterations = 0; unsigned int l_iterations = 0;
EPIK_FUNC_START();
// loop over checkpoints // loop over checkpoints
for(int c=1; c<=l_numberOfCheckPoints; c++) { for(int c=1; c<=l_numberOfCheckPoints; c++) {
...@@ -509,6 +513,8 @@ int main( int argc, char** argv ) { ...@@ -509,6 +513,8 @@ int main( int argc, char** argv ) {
progressBar.update(l_t); progressBar.update(l_t);
} }
EPIK_FUNC_END();
#ifdef WRITE_OUPUT #ifdef WRITE_OUPUT
// print current simulation time // print current simulation time
progressBar.clear(); progressBar.clear();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment