public long getTime()

in src/java/org/apache/fulcrum/yaafi/interceptor/util/StopWatch.java [252:261]


	public long getTime() {
		if (this.runningState == STATE_STOPPED || this.runningState == STATE_SUSPENDED) {
			return this.stopTime - this.startTime;
		} else if (this.runningState == STATE_UNSTARTED) {
			return 0;
		} else if (this.runningState == STATE_RUNNING) {
			return System.currentTimeMillis() - this.startTime;
		}
		throw new RuntimeException("Illegal running state has occured. ");
	}