1 /* Copyright (c) 2009, 2013. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
9 typedef struct workstation_CLM03 {
10 s_surf_resource_t generic_resource; /* Must remain first to add this to a trace */
13 } s_workstation_CLM03_t, *workstation_CLM03_t;
15 void __init_ws(workstation_CLM03_t ws, const char *id, int level);
17 int ws_resource_used(void *resource_id);
18 double ws_share_resources(surf_model_t workstation_model, double now);
19 void ws_update_actions_state(surf_model_t workstation_model, double now, double delta);
20 void ws_update_resource_state(void *id, tmgr_trace_event_t event_type, double value, double date);
21 void ws_finalize(surf_model_t workstation_model);
23 #endif /* WS_PRIVATE_H_ */