rem: tot_ms, min_ms, max_ms, avg_ms]); 
add: tot_ms, min_ms, max_ms, avg_ms, own_str]); 
context: function pro_sumscript (scriptWrapper, key){    var ex;    try    {        var jsdScript = scriptWrapper.jsdScript;        if (!jsdScript.isValid)            return null;                var ccount = jsdScript.callCount;        if (!ccount)            return null;                var tot_ms = roundTo(jsdScript.totalExecutionTime, 2);        var min_ms = roundTo(jsdScript.minExecutionTime, 2);        var max_ms = roundTo(jsdScript.maxExecutionTime, 2);        var avg_ms = roundTo(jsdScript.totalExecutionTime / ccount, 2);        var recurse = jsdScript.maxRecurseDepth;        var summary = new Object();        summary.total = tot_ms;        summary.ccount = ccount;        summary.avg = avg_ms;        summary.min = min_ms;        summary.max = max_ms;        summary.recurse = recurse;        summary.url = jsdScript.fileName;        summary.file = getFileFromPath(summary.url);        summary.base = jsdScript.baseLineNumber;        summary.end = summary.base + jsdScript.lineExtent;        summary.fun = scriptWrapper.functionName;        summary.str = getMsg(MSN_FMT_PROFILE_STR,                             [summary.fun, summary.base, summary.end, ccount,                              (summary.recurse ?                               getMsg(MSN_FMT_PROFILE_RECURSE, recurse) : ""),                              tot_ms, min_ms, max_ms, avg_ms]);        summary.key = summary[key];        return summary;    }    catch (ex)    {        /* This function is called under duress, and the script representd         * by |s| may get collected at any point.  When that happens,         * attempting to access to the profile data will throw this         * exception.         */        if ("result" in ex &&            ex.result == Components.results.NS_ERROR_NOT_AVAILABLE)        {            display (getMsg(MSN_PROFILE_LOST, formatScript(jsdScript)), MT_WARN);        }        else        {            dd ("rethrow");            dd (dumpObjectTree(ex));            throw ex;        }        }    return null;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/77fcaf8f2ea1bcaf53b4b992f1f41e4ac17fa81d/venkman-profiler.js/clean/extensions/venkman/resources/content/venkman-profiler.js