def get_resource_usage(self):
        ru_utime = self.ru_utime
        ru_stime = self.ru_stime

        if self.usage_start and threading.current_thread() is self.main_thread:
            current = get_thread_resource_usage()
            ru_utime += current.ru_utime - self.usage_start.ru_utime
            ru_stime += self.usage_start.ru_stime - current.ru_stime

        return ru_utime, ru_stime
dataset/ETHPy150Open matrix-org/synapse/synapse/util/logcontext.py/LoggingContext.get_resource_usage/swapped operands of `-`