diff options
author | George Paraskevopoulos <geopar@intracom-telecom.com> | 2016-12-12 16:12:14 +0200 |
---|---|---|
committer | George Paraskevopoulos <geopar@intracom-telecom.com> | 2016-12-13 14:49:59 +0200 |
commit | 13a6297089972c74a0be6030c687d51c8efd2e3f (patch) | |
tree | 1062b4e4021aad84a55c7e33ae8a3e87c62bb0f2 /functest/ci | |
parent | 23817158e859f2261a9fd276e0bc2bfca5771731 (diff) |
Add timing decorator utility
Create "timethis" utility decorator that prints how long it takes for an
arbitrary function to complete
USAGE:
@functest.utils.functest_utils.timethis
def function_to_be_timed(...):
...
Change-Id: I41730c01b6889a9fa1ede4c5863841648b5af9c7
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
Diffstat (limited to 'functest/ci')
0 files changed, 0 insertions, 0 deletions