Adjust likwid markers for force region

Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
Rafael Ravedutti
2021-06-30 13:44:02 +02:00
parent 06aae5593b
commit ecb5ccf6ff
2 changed files with 2 additions and 2 deletions

View File

@@ -211,11 +211,9 @@ int main(int argc, const char *argv[]) {
double S, E;
S = getTimeStamp();
LIKWID_MARKER_START("force");
for(int i = 0; i < param.ntimes; i++) {
computeForce(&param, atom, &neighbor, 0);
}
LIKWID_MARKER_STOP("force");
E = getTimeStamp();
double T_accum = E-S;
const double atoms_updates_per_sec = (double)(atom->Nlocal) / T_accum * (double)(param.ntimes * NEIGHBORS_LOOP_RUNS);