code: function (name /*:String*/, object /*:Object*/, recurse /*:Boolean*/) /*:Void*/{
          
              //get the object
              object = (lang.isObject(object) ? object : eval(name));
          
              //save the object
              container[name] = object;
          
              for (var prop in object) {
                  if (typeof object[prop] == "function"){
                      if (prop != "constructor" && prop != "superclass"){ //don't do constructor or superclass, it's recursive
                          this.registerFunction(name + "." + prop, object);
                      }
                  } else if (typeof object[prop] == "object" && recurse){
                      this.registerObject(name + "." + prop, object[prop], recurse);
                  }
              }
          
          }
docs: Sets up an object for profiling. It takes the object and looks for functions.
  When a function is found, registerMethod() is called on it. If set to recrusive
  mode, it will also setup objects found inside of this object for profiling,
  using the same methodology.
  @param {String} name The name of the object to profile (shows up in report).
  @param {Object} owner (Optional) The object represented by the name.
  @param {Boolean} recurse (Optional) Determines if subobject methods are also profiled.
  @return {Void}
  @method registerObject
  @static