Commit 8f3bc24b authored by Jérome Perrin's avatar Jérome Perrin

Note a bug with Exits

parent 28ea94db
......@@ -49,6 +49,8 @@ class Exit(Process):
def initialize(self):
Process.__init__(self)
self.Res=Resource(capacity=infinity)
# The number of resource that exited through this exit.
# XXX bug: cannot output as json when nothing has exited.
self.numOfExits=0
self.totalLifespan=0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment