--本工具主要用于进行程序的运行时间检测,以ms为单位
local tool = CTestTools();

for i=0,1000000 do
    i = i +1;
end

tool:dump();

--
tool:dumpAndStart();
for i=0,1000000 do
    i = i +1;
end
cutil:sleep(100);

tool:dump();
local iV = tool:get();
print(iV);
Copyright © TouchNet 2015 all right reserved,powered by Gitbook最后修订时间: 2022-06-21 09:21:04

results matching ""

    No results matching ""