Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
SWE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gaurav Kukreja
SWE
Commits
3b2a7cda
Commit
3b2a7cda
authored
Jan 19, 2014
by
drossostum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swe_mpi now instrumented
Signed-off-by:
drossostum
<
drevangel@mytum.de
>
parent
c0b88cc6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
swe_mpi.cpp
src/examples/swe_mpi.cpp
+6
-0
No files found.
src/examples/swe_mpi.cpp
View file @
3b2a7cda
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment