示例#1
0
 def get_idle_nodes():
     argv = ['dummy', detect_launcher(), '--geopm-ctl-disable', 'true']
     launcher = geopmpy.launcher.Factory().create(argv, 1, 1)
     return launcher.get_idle_nodes()
示例#2
0
 def get_idle_nodes():
     argv = ['dummy', 'true']
     launcher = geopmpy.launcher.factory(argv, 1, 1)
     return launcher.get_idle_nodes()