Lines Matching refs:stats

90         ProfileStats stats = new ProfileStats();  field in Antlr.Runtime.Debug.Profiler
105 stats.numRuleInvocations++; in EnterRule()
107 stats.maxRuleInvocationDepth = Math.Max(stats.maxRuleInvocationDepth, ruleLevel); in EnterRule()
134 stats.numMemoizationCacheMisses++; in ExamineRuleMemoization()
135 stats.numGuessingRuleInvocations++; // we'll have to enter in ExamineRuleMemoization()
142 stats.numMemoizationCacheHits++; in ExamineRuleMemoization()
156 stats.numMemoizationCacheEntries++; in Memoize()
168 stats.numDecisionEvents++; in EnterDecision()
227 stats.numTokens++; in ConsumeToken()
264 stats.numHiddenTokens++; in ConsumeHiddenToken()
329 stats.numBacktrackOccurrences++; in BeginBacktrack()
368 stats.numReportedErrors++; in RecognitionException()
373 stats.numSemanticPredicates++; in SemanticPredicate()
393 stats.avgkPerDecisionEvent += e.k; in Terminate()
396 stats.avgkPerBacktrackingDecisionEvent += e.k; in Terminate()
399 stats.averageDecisionPercentBacktracks = 0.0f; in Terminate()
402 stats.numDecisionsCovered++; in Terminate()
406 stats.numDecisionsThatPotentiallyBacktrack++; in Terminate()
409 stats.averageDecisionPercentBacktracks += percentBacktracks; in Terminate()
414 stats.numDecisionsThatDoBacktrack++; in Terminate()
417 stats.averageDecisionPercentBacktracks /= stats.numDecisionsThatPotentiallyBacktrack; in Terminate()
418 stats.averageDecisionPercentBacktracks *= 100; // it's a percentage in Terminate()
419 stats.avgkPerDecisionEvent /= stats.numDecisionEvents; in Terminate()
420 stats.avgkPerBacktrackingDecisionEvent /= (float)stats.numBacktrackOccurrences; in Terminate()
522 stats.Version = Version; in GetReport()
523 stats.name = parser.GetType().Name; in GetReport()
524 stats.numUniqueRulesInvoked = uniqueRules.Count; in GetReport()
526 return stats; in GetReport()
542 public static string ToString(ProfileStats stats) in ToString() argument
546 buf.Append(stats.Version); in ToString()
549 buf.Append(stats.name); in ToString()
552 buf.Append(stats.numRuleInvocations); in ToString()
555 buf.Append(stats.numUniqueRulesInvoked); in ToString()
558 buf.Append(stats.numDecisionEvents); in ToString()
561 buf.Append(stats.numGuessingRuleInvocations); in ToString()
564 buf.Append(stats.maxRuleInvocationDepth); in ToString()
612 buf.Append(stats.numMemoizationCacheEntries); in ToString()
615 buf.Append(stats.numMemoizationCacheHits); in ToString()
618 buf.Append(stats.numMemoizationCacheMisses); in ToString()
624 buf.Append(stats.numTokens); in ToString()
627 buf.Append(stats.numHiddenTokens); in ToString()
630 buf.Append(stats.numCharsMatched); in ToString()
633 buf.Append(stats.numHiddenCharsMatched); in ToString()
636 buf.Append(stats.numReportedErrors); in ToString()