mirror of
https://github.com/lltcggie/waifu2x-caffe.git
synced 2025-06-26 05:32:47 +00:00
GUIで時間計測のミリ秒表示を3桁にした
This commit is contained in:
parent
4d22925f0e
commit
10e5a96d3d
@ -643,7 +643,7 @@ private:
|
||||
const int sec = t % 60; t /= 60;
|
||||
const int min = t % 60; t /= 60;
|
||||
const int hour = (int)t;
|
||||
ptr += _stprintf(ptr, TEXT("処理時間: %02d:%02d:%02d.%d\r\n"), hour, min, sec, msec);
|
||||
ptr += _stprintf(ptr, TEXT("処理時間: %02d:%02d:%02d.%03d\r\n"), hour, min, sec, msec);
|
||||
}
|
||||
|
||||
{
|
||||
@ -652,7 +652,7 @@ private:
|
||||
const int sec = t % 60; t /= 60;
|
||||
const int min = t % 60; t /= 60;
|
||||
const int hour = (int)t;
|
||||
ptr += _stprintf(ptr, TEXT("初期化時間: %02d:%02d:%02d.%d\r\n"), hour, min, sec, msec);
|
||||
ptr += _stprintf(ptr, TEXT("初期化時間: %02d:%02d:%02d.%03d\r\n"), hour, min, sec, msec);
|
||||
}
|
||||
|
||||
if (process == "gpu" || process == "cudnn")
|
||||
@ -662,7 +662,7 @@ private:
|
||||
const int sec = t % 60; t /= 60;
|
||||
const int min = t % 60; t /= 60;
|
||||
const int hour = (int)t;
|
||||
ptr += _stprintf(ptr, TEXT("cuDNNチェック時間: %02d:%02d:%02d.%d"), hour, min, sec, msec);
|
||||
ptr += _stprintf(ptr, TEXT("cuDNNチェック時間: %02d:%02d:%02d.%03d"), hour, min, sec, msec);
|
||||
}
|
||||
|
||||
AddLogMessage(msg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user