Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[smpi,example] an example of matrix multiplication with non contignous memory
[simgrid.git] / examples / smpi / MM / timer.h
1 #ifndef timer_H_
2 #define timer_H_
3 /*!
4  * \defgroup timer.h
5  * here, we provides a generic interface to time some parts of the code
6  */
7 # include <sys/time.h>
8
9 inline double get_microsecond(struct timespec *res);
10 inline double get_nanosecond(struct timespec *res);
11
12
13
14 int get_time(struct timespec *tp);
15 double get_timediff(struct timespec *start, struct timespec * end);
16 #endif /*timer_H_*/