Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
convert and massevely rewrite app-bittorrent
[simgrid.git] / examples / smpi / NAS / nas_common.h
index 1990c0d1cc0bc3e5d0a621355e170bfa4908c3dd..4da962ea78c5f6c6a5e84a846c86b3f59690fbd8 100644 (file)
@@ -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
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -8,22 +8,19 @@
 
 #include <stdlib.h>
 #include <stdio.h>
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <stdint.h>
 #include <math.h>
 #include "mpi.h"
 
 enum benchmark_types {IS, DT, EP};
 
 int ilog2(int i);
 #include <math.h>
 #include "mpi.h"
 
 enum benchmark_types {IS, DT, EP};
 
 int ilog2(int i);
+
 void timer_clear(int n);
 void timer_start(int n);
 void timer_stop(int n);
 double timer_read(int n);
 
 void timer_clear(int n);
 void timer_start(int n);
 void timer_stop(int n);
 double timer_read(int n);
 
-void time_clear(double *onetimer);
-void time_start(double *onetimer);
-void time_stop(int n,double *elapsed,double *start);
-double time_read(int n, double *elapsed);
-
 double vranlc(int n, double x, double a, double *y);
 double randlc(double *X, double*A);
 
 double vranlc(int n, double x, double a, double *y);
 double randlc(double *X, double*A);