more refactoring

This commit is contained in:
Miroslav Stampar
2010-09-15 13:28:56 +00:00
parent 682872689a
commit abc12bc361
4 changed files with 68 additions and 33 deletions

View File

@@ -30,6 +30,9 @@ from lib.core.data import logger
from lib.core.data import paths
def profile(profileOutputFile=None, dotOutputFile=None, imageOutputFile=None):
"""
This will run the program and present profiling data in a nice looking graph
"""
try:
from extra.gprof2dot import gprof2dot
from extra.xdot import xdot