JavaRanch-FAQ HowToAskQuestionsOnJavaRanch UseCodeTags DontWriteLongLines ItDoesntWorkIsUseLess FormatCode JavaIndenter SSCCE API-17 JLS JavaLanguageSpecification MainIsAPain KeyboardUtility
Ryan O'Neill wrote:I agree that milliseconds is not small enough but since that is what the prof wants that is what I have to use unfortunately. Is this what you mean by reset the rsFreq? public void reset() { rstotalTime = 0; rsHigh = 0; rsLow = 0; for( int i =0; i < iterations; i++) rsFreq[i] = 0; }