提交 6a2a901b 编写于 作者: 1 15929983503

测试套内存泄漏整改

Signed-off-by: N15929983503 <duanhaizhen@huawei.com>
上级 34df45f0
...@@ -21,9 +21,6 @@ describe("HitraceMeterTest", function () { ...@@ -21,9 +21,6 @@ describe("HitraceMeterTest", function () {
console.info("-------DFX_DFR_HitraceMeter_0100 start--------"); console.info("-------DFX_DFR_HitraceMeter_0100 start--------");
for (var i = 0; i < 3; i++) { for (var i = 0; i < 3; i++) {
console.info("DFX_DFR_HitraceMeter_0100 i = " + i) console.info("DFX_DFR_HitraceMeter_0100 i = " + i)
console.info("DFX_DFR_HitraceMeter_0100 " + i.toString() + " startTrace start");
hiTraceMeter.startTrace("test-" + i.toString(), 111 + i, 5000);
console.info("DFX_DFR_HitraceMeter_0100 " + i.toString() + "startTrace end");
console.info("DFX_DFR_HitraceMeter_0100 " + i.toString() + " finishTrace start"); console.info("DFX_DFR_HitraceMeter_0100 " + i.toString() + " finishTrace start");
hiTraceMeter.finishTrace("test-" + i.toString(), 111 + i); hiTraceMeter.finishTrace("test-" + i.toString(), 111 + i);
console.info("DFX_DFR_HitraceMeter_0100 " + i.toString() + "finishTrace end"); console.info("DFX_DFR_HitraceMeter_0100 " + i.toString() + "finishTrace end");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册