def clocks():

        return resource.getrusage(resource.RUSAGE_SELF)[1]
Default unittest reporting flags can be set to control reporting
dataset/ETHPy150Open ipython/ipython-py3k/IPython/utils/timing.py/clocks--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/test/test_doctest.py/test_unittest_reportflags