diff --git a/.ropeproject/config.py b/.ropeproject/config.py index 120d73f..ffebcd4 100644 --- a/.ropeproject/config.py +++ b/.ropeproject/config.py @@ -83,5 +83,3 @@ def set_prefs(prefs): def project_opened(project): """This function is called after opening the project""" # Do whatever you like here! - -prefs.add('python_path', '/usr/lib/python2.7/site-packages') diff --git a/.ropeproject/globalnames b/.ropeproject/globalnames index e0cae65..cf8d9de 100644 Binary files a/.ropeproject/globalnames and b/.ropeproject/globalnames differ diff --git a/.ropeproject/history b/.ropeproject/history index fcd9c96..00f2348 100644 Binary files a/.ropeproject/history and b/.ropeproject/history differ diff --git a/.ropeproject/objectdb b/.ropeproject/objectdb index 29c40cd..91ab150 100644 Binary files a/.ropeproject/objectdb and b/.ropeproject/objectdb differ diff --git a/neat/collector.py b/neat/collector.py index 45bc44b..68fa746 100755 --- a/neat/collector.py +++ b/neat/collector.py @@ -1,6 +1,5 @@ #! /usr/bin/env python2 import sys -import time import libvirt @@ -21,6 +20,7 @@ def getCpuUtilization(numberOfPhysicalCpus, domain, previousTime, previousCpuTim return ((currentCpuTime - previousCpuTime) / ((currentTime - previousTime) * 1000000000 * numberOfPhysicalCpus)) + def collectCpuUtilization(numberOfPhysicalCpus, timeInterval, reportingFunction): pass