A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make xbt_free a function-like macro.
[simgrid.git]
/
src
/
surf
/
workstation_clm03.hpp
diff --git
a/src/surf/workstation_clm03.hpp
b/src/surf/workstation_clm03.hpp
index
b747713
..
88b4854
100644
(file)
--- a/
src/surf/workstation_clm03.hpp
+++ b/
src/surf/workstation_clm03.hpp
@@
-1,3
+1,9
@@
+/* Copyright (c) 2013-2014. The SimGrid Team.
+ * 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. */
+
#include "workstation_interface.hpp"
#include "storage_interface.hpp"
#include "cpu_interface.hpp"
#include "workstation_interface.hpp"
#include "storage_interface.hpp"
#include "cpu_interface.hpp"
@@
-25,11
+31,9
@@
typedef WorkstationCLM03Action *WorkstationCLM03ActionPtr;
class WorkstationCLM03Model : public WorkstationModel {
public:
class WorkstationCLM03Model : public WorkstationModel {
public:
- WorkstationCLM03Model(const char *name);
WorkstationCLM03Model();
~WorkstationCLM03Model();
WorkstationCLM03Model();
~WorkstationCLM03Model();
- void parseInit(sg_platf_host_cbarg_t host);
- WorkstationPtr createResource(const char *name);
+ WorkstationPtr createWorkstation(const char *name);
double shareResources(double now);
void updateActionsState(double now, double delta);
double shareResources(double now);
void updateActionsState(double now, double delta);
@@
-39,7
+43,6
@@
public:
double *computation_amount,
double *communication_amount,
double rate);
double *computation_amount,
double *communication_amount,
double rate);
- xbt_dynar_t getRoute(WorkstationPtr src, WorkstationPtr dst);
ActionPtr communicate(WorkstationPtr src, WorkstationPtr dst, double size, double rate);
};
ActionPtr communicate(WorkstationPtr src, WorkstationPtr dst, double size, double rate);
};
@@
-71,11
+74,6
@@
public:
* Action *
**********/
* Action *
**********/
-class WorkstationCLM03Action : public WorkstationAction {
-public:
- WorkstationCLM03Action(ModelPtr model, double cost, bool failed)
- : WorkstationAction(model, cost, failed) {}
-};
#endif /* SURF_WORKSTATION_CLM03_HPP_ */
#endif /* SURF_WORKSTATION_CLM03_HPP_ */