private void OnBenchmarkRequest(BenchmarkRequest msg) { this.Log.Info("OnBenchmarkRequest"); this.PcapLoader = msg.PcapLoader; this.CaptureInfo = msg.CaptureInfo; this.DistributionSw = new Stopwatch(); this.TotalSw = new Stopwatch(); this.StartTestBenchmarkAsync().PipeTo(this.Sender); }
private void OnBenchmarkRequest(BenchmarkRequest msg) { this.Log.Info("OnBenchmarkRequest"); this.PcapLoader = msg.PcapLoader; this.CaptureInfo = msg.CaptureInfo; this.IPIpv4DefragmentationEngine = new Ipv4DefragmentationEngine(new AkkaLoggingAdapter <Ipv4DefragmentationEngine>(Context.GetLogger())); this.DistributionSw = new Stopwatch(); this.TotalSw = new Stopwatch(); this.StartTestBenchmarkAsync().PipeTo(this.Sender); }