@LogType("Arg") @Permission("CM") contract GasExample{ event abcEvent; @Cost({"countGas":true,"extraGas":"getExecTimes"}) export function pub(arg){ a =1+1; b =2+2; Global.tigger=new Date(); abcEvent(arg); if(arg.length>10){ return "done!"; } else{ return 11; } } export function log(arg){ var data=new Date().getTime()-Global.tigger.getTime(); print(data); for(var i=0;i