def print_perf(): perf = XRdd.get_perf_count() if perf: print 'XRDD' pprint(perf) perf = XArrayImpl.get_perf_count() if perf: print 'XArray' pprint(perf) perf = XFrameImpl.get_perf_count() if perf: print 'XFrame' pprint(perf)
def xpatterns_track(enable=True): XFrameImpl.set_perf_count(enable) XArrayImpl.set_perf_count(enable)
def xarray_track(enable=True): XArrayImpl.set_perf_count(enable)