From ebee9ee5dc12d8198ff5d632c0052d3f29047bd5 Mon Sep 17 00:00:00 2001 From: tsuji Date: Fri, 24 Dec 2021 16:30:51 +0900 Subject: [PATCH] =?UTF-8?q?RIP=E5=87=A6=E7=90=86=E6=99=82=E9=96=93?= =?UTF-8?q?=E3=81=AE=E8=A8=88=E6=B8=AC=E3=81=A8=E3=81=9D=E3=81=AE=E7=B5=90?= =?UTF-8?q?=E6=9E=9C=E5=87=BA=E5=8A=9B=E3=81=AE=E6=A9=9F=E8=83=BD=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Code/CSRender/CSRender/MainWindow.xaml.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Code/CSRender/CSRender/MainWindow.xaml.cs b/Code/CSRender/CSRender/MainWindow.xaml.cs index 5b5aebc..f35c667 100644 --- a/Code/CSRender/CSRender/MainWindow.xaml.cs +++ b/Code/CSRender/CSRender/MainWindow.xaml.cs @@ -163,13 +163,17 @@ namespace CSRender reportBox.Text = ""; //referenceErrorFlag = true; } - + //検版パラメータの取得 string shiftPixel = PositionBox.Text; string colorMargin = GradationBox.Text; string removePoint = SmallDiffBox.Text; string shadingOff = VisualBox.Text; + //RIP処理時間の計測 + var ripTime = new System.Diagnostics.Stopwatch(); + ripTime.Start();//計測開始 + //必要に応じてページ引数を指定 bool pageFlag = false; string selectedPage = ""; @@ -241,6 +245,11 @@ namespace CSRender //referenceErrorFlag = true; } + ripTime.Stop();//RIP時間の計測終了 + TimeSpan timeResult = ripTime.Elapsed; + var allRipTime = $"{timeResult}".Substring(0,8); + + ResultConsole.Text += " [RIP処理時間 " + allRipTime + "]\r\n"; ResultConsole.Text += "\r\n\r\n"; ResultConsole.ScrollToEnd(); DoEvents(); -- 2.22.0