Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Skeleton of a timer (still lack a little bit of code to be effective).
[simgrid.git] / src / surf / surf_timer_private.h
diff --git a/src/surf/surf_timer_private.h b/src/surf/surf_timer_private.h
new file mode 100644 (file)
index 0000000..7a4ae38
--- /dev/null
@@ -0,0 +1,29 @@
+/*     $Id$     */
+
+/* Copyright (c) 2005 Arnaud Legrand. All rights reserved.                  */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
+#ifndef _SURF_TIMER_PRIVATE_H
+#define _SURF_TIMER_PRIVATE_H
+
+#include "surf_private.h"
+#include "xbt/dict.h"
+
+/* typedef struct surf_action_timer_Cas01 { */
+/*   s_surf_action_t generic_action; */
+/*   lmm_variable_t variable; */
+/* } s_surf_action_timer_t, *surf_action_timer_t; */
+
+typedef struct command {
+  surf_resource_t resource;    /* Any such object, added in a trace
+                                  should start by this field!!! */
+  void *fun;
+  void *args;
+  char *name;
+} s_command_t, *command_t;
+
+extern xbt_dict_t command_set;
+
+#endif                         /* _SURF_TIMER_PRIVATE_H */