progress
This commit is contained in:
parent
755185ca26
commit
d477611892
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
.PHONY: run clean
|
.PHONY: run clean
|
||||||
|
|
||||||
CFLAGS += -g
|
CFLAGS += -g -pg
|
||||||
# CFLAGS += -DFMT_HEADER_ONLY -O3
|
# CFLAGS += -DFMT_HEADER_ONLY -O3
|
||||||
# LDFLAGS += $(shell pkg-config --libs fmt)
|
# LDFLAGS += $(shell pkg-config --libs fmt)
|
||||||
|
|
||||||
|
|
|
@ -224,8 +224,10 @@ int main(int argc, char **argv) {
|
||||||
// STEP 5 TIMER STARTS HERE
|
// STEP 5 TIMER STARTS HERE
|
||||||
MPI_Barrier(MPI_COMM_WORLD);
|
MPI_Barrier(MPI_COMM_WORLD);
|
||||||
double step_5_start_time;
|
double step_5_start_time;
|
||||||
if (rank == 0)
|
if (rank == 0) {
|
||||||
step_5_start_time = MPI_Wtime();
|
step_5_start_time = MPI_Wtime();
|
||||||
|
printf("STARTING STEP 5: %0.04fs\n", step_5_start_time - step_2_start_time);
|
||||||
|
}
|
||||||
|
|
||||||
// The processes perform the transfers of non-local labels and updates of
|
// The processes perform the transfers of non-local labels and updates of
|
||||||
// local labels until convergence.
|
// local labels until convergence.
|
||||||
|
|
Loading…
Reference in a new issue