Esempio n. 1
0
def get_sys_ipc(t=cfg.sys_ipc_time):
  r = ipc(time=t)
  log.debug("system IPC: {:.3}".format(r))
  return r
Esempio n. 2
0
def syswide_stat(time:float=10, vms=[]):
  from perf import perftool
  print("measuring system wide kvm stats %ss" % time)
  performance = perftool.ipc(guest=True, systemwide=True, time=time)
  print("{:.3f}".format(performance))
Esempio n. 3
0
 def ipc(self, time=0.1):
   return ipc(pid=self.pid, time=time)