public class Daemon
extends org.simgrid.msg.Process
Modifier and Type | Field and Description |
---|---|
static int |
n_daemon |
Constructor and Description |
---|
Daemon(org.simgrid.msg.Host host,
int load)
Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
getRemaining() |
void |
kill() |
void |
main(java.lang.String[] args) |
public Daemon(org.simgrid.msg.Host host, int load)
host
- the name of the host on which the task is running (in our case, the host is a VM)load
- the loadpublic void main(java.lang.String[] args) throws org.simgrid.msg.MsgException
main
in class org.simgrid.msg.Process
org.simgrid.msg.MsgException
public double getRemaining()
public void kill()
kill
in class org.simgrid.msg.Process