Exemplo n.º 1
0
 def get_alloc_nodes():
     argv = ['dummy', detect_launcher(), '--geopm-ctl-disable', 'true']
     launcher = geopmpy.launcher.Factory().create(argv, 1, 1)
     return launcher.get_alloc_nodes()
Exemplo n.º 2
0
 def get_alloc_nodes():
     argv = ['dummy', 'true']
     launcher = geopmpy.launcher.factory(argv, 1, 1)
     return launcher.get_alloc_nodes()