Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Relic of the star removal.
[simgrid.git] / src / surf / cpu_private.h
1 /*      $Id$     */
2
3 /* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
4
5 /* This program is free software; you can redistribute it and/or modify it
6  * under the terms of the license (GNU LGPL) which comes with this package. */
7
8 #ifndef _SURF_CPU_PRIVATE_H
9 #define _SURF_CPU_PRIVATE_H
10
11 #include "surf_private.h"
12
13 typedef struct surf_action_cpu {
14   s_surf_action_t generic_action;
15   lmm_variable_t variable;
16 } s_surf_action_cpu_t, *surf_action_cpu_t;
17
18 typedef struct cpu {
19   surf_resource_t resource;     /* Any such object, added in a trace
20                                    should start by this field!!! */
21   const char *name;
22   xbt_maxmin_float_t power_scale;
23   xbt_maxmin_float_t power_current;
24   tmgr_trace_event_t power_event;
25   e_surf_cpu_state_t state_current;
26   tmgr_trace_event_t state_event;
27   lmm_constraint_t constraint;
28 } s_cpu_t, *cpu_t;
29
30 #endif                          /* _SURF_CPU_PRIVATE_H */