public virtual void statusChanged(Recognizer.State status) { if (status == Recognizer.State.__DEALLOCATED) { this.printStats(); } }
public void StatusChanged(Recognizer.State status) { if (status == Recognizer.State.Allocated) { if (_showTimers) { TimerPool.DumpAll(); } } if (status == Recognizer.State.Deallocating) { if (_showTimers) { TimerPool.DumpAll(); } } if (status == Recognizer.State.Deallocated) { if (_showSummary) { ShowAudioSummary(); } } }
public virtual void statusChanged(Recognizer.State status) { if (status == Recognizer.State.__DEALLOCATED) { this.calculateMemoryUsage(this.showSummary); } }
public void StatusChanged(Recognizer.State status) { if (status == Recognizer.State.Deallocated) { CalculateMemoryUsage(_showSummary); } }
public void StatusChanged(Recognizer.State status) { if (status == Recognizer.State.Deallocated) { PrintStats(); } }
public virtual void statusChanged(Recognizer.State status) { if (status == Recognizer.State.__DEALLOCATED && this.showSummary) { this.logger.info("\n# --------------- Summary statistics ---------"); this.aligner.printTotalSummary(); } }
public void StatusChanged(Recognizer.State status) { if (status == Recognizer.State.Deallocated) { if (_showSummary) { this.LogInfo("\n# --------------- Summary statistics ---------"); Aligner.PrintTotalSummary(); } } }
public virtual void statusChanged(Recognizer.State status) { if (status == Recognizer.State.__ALLOCATED && this.showTimers) { TimerPool.dumpAll(this.logger); } if (status == Recognizer.State.__DEALLOCATING && this.showTimers) { TimerPool.dumpAll(this.logger); } if (status == Recognizer.State.__DEALLOCATED && this.showSummary) { this.showAudioSummary(); } }
public void StatusChanged(Recognizer.State status) { List <IRunnable> runnableList = null; if (status == Recognizer.State.Allocated) { runnableList = _allocatedMonitors; } else if (status == Recognizer.State.Deallocated) { runnableList = _deallocatedMonitors; } if (runnableList != null) { foreach (IRunnable r in runnableList) { r.Run(); } } }
public virtual void statusChanged(Recognizer.State status) { List list = null; if (status == Recognizer.State.__ALLOCATED) { list = this.allocatedMonitors; } else if (status == Recognizer.State.__DEALLOCATED) { list = this.deallocatedMonitors; } if (list != null) { Iterator iterator = list.iterator(); while (iterator.hasNext()) { Runnable runnable = (Runnable)iterator.next(); runnable.run(); } } }