Commit ebee9ee5 authored by tsuji's avatar tsuji

RIP処理時間の計測とその結果出力の機能を追加

parent 2b86d82f
......@@ -170,6 +170,10 @@ namespace CSRender
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 += "<TIFF変換完了>\r\n\r\n";
ResultConsole.ScrollToEnd();
DoEvents();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment