Closed GoogleCodeExporter closed 9 years ago
On second thought, I think the output CSV file is not sorted on the
"submission time" column because the input is not.
Indeed, the input comes from the SGE accounting file (as translated by
`distil.py` or `awk`), but the SGE accounting is sorted on *end* time:
a record is written to the accounting file when a job *finishes*, not
when it is submitted.
Hence, the reordering according to the "submission time" column must
happen in `distil.py` or in `simul.py`; the latter probably makes the
simulator easier and more robust, at the cost of increased memory
usage.
(Still, I'd like to see `assert`'s in the code to make this kind of
assumptions explicit...)
Original comment by riccardo.murri@gmail.com
on 17 Feb 2012 at 9:06
Riccardo, you've already fixed the ordering issue, right? lines: 108:118.
About unifying time: self.cycle variable has been set in the orchestrator class
and incremented at each iteration of the Orchestrator.run() method. Used for
replacing time._step and self.time_step in the simulator class.
Original comment by tyanko.a...@gmail.com
on 21 Feb 2012 at 9:20
Original issue reported on code.google.com by
riccardo.murri@gmail.com
on 16 Feb 2012 at 6:12