totalTimeInState

Gets the total time spent in the state

Return

a double representing the total sojourn time