Changeset ff99eae in flex_extract.git for python/profiling.py
- Timestamp:
- Jun 1, 2018, 8:34:59 PM (6 years ago)
- Branches:
- master, ctbto, dev
- Children:
- e1228f3
- Parents:
- ccab809
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/profiling.py
r991df6a rff99eae 2 2 # -*- coding: utf-8 -*- 3 3 #************************************************************************ 4 # T ODOAP4 # ToDo AP 5 5 # - check of license of book content 6 6 #************************************************************************ … … 66 66 result = fn(*args, **kwargs) 67 67 t2 = time.time() 68 print ("@timefn:" + fn.func_name + " took " + str(t2 - t1) + " seconds")68 print "@timefn:" + fn.func_name + " took " + str(t2 - t1) + " seconds" 69 69 70 70 return result
Note: See TracChangeset
for help on using the changeset viewer.