 package mx.utils
 {
+import flash.display.DisplayObject;
 import flash.utils.getTimer;
+
+import mx.core.UIComponent;
 
 CONFIG::performanceInstrumentation
 public final class PerfUtil

				timeVector[token] = IGNORE; 
			return;
		}
		
		idVector[token] = name; // Fix the start id
		idVector.push(name);

	 *  @param tolerance Tolerance in miliseconds. If the event took less than the tolerance,
	 *  it will be omitted from the log.
	 */
	public function markEnd(name:String, token:int, tolerance:int = 0, idObject:Object = null):void
	{
		if (startSamplingCount <= 0 || token < 0 )
			return;
