Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics
[simgrid.git] / include / amok / base.h
1 /* $Id$ */
2
3 /* amok_base - things needed in amok, but too small to constitute a module  */
4
5 /* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
6
7 /* This program is free software; you can redistribute it and/or modify it
8  * under the terms of the license (GNU LGPL) which comes with this package. */
9
10 #ifndef AMOK_BASE_H
11 #define AMOK_BASE_H
12
13 #include "gras/messages.h"
14
15 /* ****************************************************************************
16  * The common types used as payload in the messages and their definitions
17  * ****************************************************************************/
18
19 /**
20  * amok_result_t:
21  *
22  * how to report the result of an experiment
23  */
24
25 typedef struct {
26   unsigned int timestamp;
27   double value;
28 } amok_result_t;
29
30 XBT_PUBLIC(void) amok_base_init(void);
31 XBT_PUBLIC(void) amok_base_exit(void);
32
33
34 #endif /* AMOK_BASE_H */