Пример #1
0
    def __init__(self, print_from=1000, lag=1000, plot_times=False):
        Output.__init__(self)

        self.print_from = print_from
        self.lag = lag
        self.plot_times = plot_times

        # for every update, append the time needed for it
        self.start_time = time.time()
        self.times = []
        self.times.append(0)
Пример #2
0
 def __init__(self, print_from=1000, lag=1000, plot_times=False):
     Output.__init__(self)
     
     self.print_from = print_from
     self.lag = lag
     self.plot_times = plot_times
     
     # for every update, append the time needed for it
     self.start_time = time.time()
     self.times = []
     self.times.append(0)
Пример #3
0
 def __init__(self, folder, lag=1):
     Output.__init__(self)
     
     self.folder = folder
     self.lag = lag
Пример #4
0
    def __init__(self, folder, lag=1):
        Output.__init__(self)

        self.folder = folder
        self.lag = lag