Logo AND Algorithmique Numérique Distribuée

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