function Lc(a){B.assert(a!=n,"AdfCheckpoint cannot be null");this.sW=a;this.$M=this.sQ=this.rQ=0;this.NW=[];this.xc="AdfProfilerData"}v("AdfProfilerData",Lc);Lc.zN={};Lc.JN=p;Lc.nxa=p;Lc.bwa=l;Lc.I2a=function(){Lc.zN={}};v("AdfProfilerData.clearMetrics",Lc.I2a);Lc.iCa=function(){var a=[];for(key in Lc.zN){var b=Lc.zN[key];"AdfProfilerData"==b.xc&&a.push(b.IA())}return a};v("AdfProfilerData.getMetrics",Lc.iCa);Lc.B1=function(a){Lc.JN=a};v("AdfProfilerData.setDetail",Lc.B1);
Lc.d5a=function(a){Lc.nxa=a};v("AdfProfilerData.setLogging",Lc.d5a);Lc.b5a=function(a){Lc.bwa=a};v("AdfProfilerData.setHandleRecursion",Lc.b5a);Lc.uQa=function(a){B.assert(a!=n,"Id cannot be null for a checkpoint");var b=[a.toString()],d=Lc.zN[b];d==n&&(d=new Lc(a),Lc.zN[b]=d);return d};Lc.prototype.Kga=r("rQ");z.a("AdfProfilerData.prototype.getTotalCalls",{Kga:Lc.prototype.Kga});Lc.prototype.Lga=r("sQ");z.a("AdfProfilerData.prototype.getTotalTime",{Lga:Lc.prototype.Lga});Lc.prototype.iga=r("dP");
z.a("AdfProfilerData.prototype.getMaxTime",{iga:Lc.prototype.iga});Lc.prototype.kga=r("jP");z.a("AdfProfilerData.prototype.getMinTime",{kga:Lc.prototype.kga});Lc.prototype.Bfa=function(){return this.$M/this.rQ};z.a("AdfProfilerData.prototype.getAverageTime",{Bfa:Lc.prototype.Bfa});Lc.prototype.Lk=r("sW");z.a("AdfProfilerData.prototype.getCheckpoint",{Lk:Lc.prototype.Lk});Lc.prototype.XBa=r("NW");z.a("AdfProfilerData.prototype.getDetailedData",{XBa:Lc.prototype.XBa});
Lc.prototype.p8=function(a,b,d,e){B.assert(a!=n,"Timing cannot be null");this.rQ++;this.$M+=a;if(!Lc.bwa||0==b)this.sQ+=a;if(this.dP==k||a>this.dP)this.dP=a;if(this.jP==k||a<this.jP)this.jP=a;Lc.JN&&this.NW.push(new Nc(a,d,e));Lc.nxa&&(b=this.sW.getGroup(),d=this.sW.getId(),e="Checkpoint: ",b&&(e=e+"["+b+"] "),D.i.ks(D.INFO,e+d+" - "+a+"ms"))};z.a("AdfProfilerData.prototype.__recordResults",{p8:Lc.prototype.p8});
Lc.prototype.IA=function(){var a=new Lc(this.sW);a.rQ=this.rQ;a.sQ=this.sQ;a.dP=this.dP;a.jP=this.jP;a.$M=this.$M;a.NW=this.NW.slice(0);return a};