Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix private host variable after a migration - Adrien
[simgrid.git] / src / surf / cpu_cas01_private.h
1
2 /* Copyright (c) 2013. The SimGrid Team.
3  * 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_CAS01_PRIVATE_H
9 #define _SURF_CPU_CAS01_PRIVATE_H
10
11 typedef struct cpu_Cas01 {
12   s_surf_resource_t generic_resource;
13   s_xbt_swag_hookup_t modified_cpu_hookup;
14   double power_peak;
15   double power_scale;
16   tmgr_trace_event_t power_event;
17   int core;
18   e_surf_resource_state_t state_current;
19   tmgr_trace_event_t state_event;
20   lmm_constraint_t constraint;
21 } s_cpu_Cas01_t, *cpu_Cas01_t;
22
23 void *cpu_cas01_create_resource(const char *name,
24     double power_peak,
25     double power_scale,
26     tmgr_trace_t power_trace,
27     int core,
28     e_surf_resource_state_t state_initial,
29     tmgr_trace_t state_trace,
30     xbt_dict_t cpu_properties,
31     surf_model_t cpu_model);
32
33 #endif                          /* _SURF_CPU_CAS01_PRIVATE_H */