def get_machine(self):
    hostname = socket.gethostname()
    try:
      self.session.flush()
      return self.session.query(Machine).filter_by(name=hostname).one()
    except sqlalchemy.orm.exc.NoResultFound:
      m = Machine(name=hostname,
                  cpu=_cputype(),
                  cores=_cpucount(),
                  memory_gb=_memorysize() / (
                  1024.0 ** 3) if _memorysize() else 0,
                  machine_class=self.get_machine_class())
      self.session.add(m)
      return m
Write coordinates (& blanking) to Plot3D stream.
dataset/ETHPy150Open jansel/opentuner/opentuner/measurement/driver.py/MeasurementDriver.get_machine--crossover with--dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.lib/src/openmdao/lib/datatypes/domain/plot3d.py/_write_plot3d_coords