The Machine/Job Features TimeLeft utility interrogates the MJF values for the current CPU and Wallclock consumed, as well as their limits.

class DIRAC.Core.Utilities.TimeLeft.MJFTimeLeft.MJFTimeLeft

Bases: object

Class for creating objects that deal with MJF


Standard constructor


Returns a dictionary containing CPUConsumed, CPULimit, WallClockConsumed and WallClockLimit for current slot. All values returned in seconds.