X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9bb4ff8cfa803518fe0f2e7377e16caf5878f7b8..84402e8e2ee2a2d0bef25fdceb0a263ed8b471f6:/examples/smpi/NAS/nas_common.c diff --git a/examples/smpi/NAS/nas_common.c b/examples/smpi/NAS/nas_common.c index 5783e8c839..6229b505ec 100644 --- a/examples/smpi/NAS/nas_common.c +++ b/examples/smpi/NAS/nas_common.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2016. The SimGrid Team. +/* Copyright (c) 2016-2020. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -78,22 +78,6 @@ void check_info(int type, int nprocs, char class) } } -void time_clear(double *onetimer) { - *onetimer = 0.0; -} - -void time_start(double *onetimer) { - *onetimer = MPI_Wtime(); -} - -void time_stop(int n,double *elapsed,double *start) { - elapsed[n] = MPI_Wtime()- start[n]; -} - -double time_read(int n, double *elapsed) { /* ok, useless, but jsut to keep function call */ - return(elapsed[n]); -} - void timer_clear(int n) { elapsed[n] = 0.0;