summaryrefslogtreecommitdiffstats
path: root/tests/profiler-poc.py
AgeCommit message (Collapse)AuthorFilesLines
2017-01-31Fix bugs in profilerYujun Zhang1-3/+3
- collect disable_network.log - use Python oneliner instead of `bc` - rename T00 from hostdown to linkdown - add step collect_logs - move profiler to a dedicated step - reorder function definitions to elimate warning on unresolved variable - redirect also stderr to log JIRA: DOCTOR-94 Change-Id: Ic63e5163945c5b21fd1d1c0bf99be353c11c2ada Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-17Dump profiling data to json file to report by functestYujun Zhang1-0/+5
Change-Id: Iceead5b8d47bea3c6dc9f0475dc453fb5062070a JIRA: DOCTOR-91 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-12Add more timestamps and export them for profilerJulien1-2/+2
Add timestamps when mark host and vm down(T03/T04). Update the sequence for host down and vm error Export more time tags for profiler: 1. Calculate and export T01,T03,T04 timestamps 2. Use regex to get time from log instead fixed column 3. Fix var usage without a '$' info: merge gerrit ticket 26551 into 26531. JIRA: DOCTOR-88 Change-Id: I3e6ccba667f470b4a00219f1e9830bb0da3d4ae5 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2016-12-26PoC of performance profilerYujun Zhang1-0/+82
- export environment variables to set check points in millisecond - valid check points are: DOCTOR_PROFILER_T{00-09} See also https://gerrit.opnfv.org/gerrit/#/c/26439 JIRA: DOCTOR-72 Change-Id: I5a63309fbb23934ac468c05a2e91881ec3f87b4a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>