Recreated the rope project
This commit is contained in:
parent
4937225fe3
commit
4024379df6
@ -83,5 +83,3 @@ def set_prefs(prefs):
|
|||||||
def project_opened(project):
|
def project_opened(project):
|
||||||
"""This function is called after opening the project"""
|
"""This function is called after opening the project"""
|
||||||
# Do whatever you like here!
|
# Do whatever you like here!
|
||||||
|
|
||||||
prefs.add('python_path', '/usr/lib/python2.7/site-packages')
|
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,6 +1,5 @@
|
|||||||
#! /usr/bin/env python2
|
#! /usr/bin/env python2
|
||||||
import sys
|
import sys
|
||||||
import time
|
|
||||||
import libvirt
|
import libvirt
|
||||||
|
|
||||||
|
|
||||||
@ -21,6 +20,7 @@ def getCpuUtilization(numberOfPhysicalCpus, domain, previousTime, previousCpuTim
|
|||||||
|
|
||||||
return ((currentCpuTime - previousCpuTime) / ((currentTime - previousTime) * 1000000000 * numberOfPhysicalCpus))
|
return ((currentCpuTime - previousCpuTime) / ((currentTime - previousTime) * 1000000000 * numberOfPhysicalCpus))
|
||||||
|
|
||||||
|
|
||||||
def collectCpuUtilization(numberOfPhysicalCpus, timeInterval, reportingFunction):
|
def collectCpuUtilization(numberOfPhysicalCpus, timeInterval, reportingFunction):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user