code: function(name){
              if (lang.isString(name)){
                  delete report[name];
                  delete stopwatches[name];
              } else {
                  report = {};
                  stopwatches = {};
              }
          }
docs: ------------------------------------------------------------------------- Utility Methods ------------------------------------------------------------------------- 
  Removes all report data from the profiler.
  @param {String} name (Optional) The name of the report to clear. If
  omitted, then all report data is cleared.
  @return {Void}
  @method clear
  @static