--- nono/lib/stopwatch.h 2026/04/29 17:04:54 1.1.1.2 +++ nono/lib/stopwatch.h 2026/04/29 17:05:56 1.1.1.4 @@ -4,6 +4,10 @@ // Licensed under nono-license.txt // +// +// Stopwatch +// + #pragma once #include "header.h" @@ -41,7 +45,7 @@ class Stopwatch } // 経過時間を nsec で返す - uint64 Elapsed() const { + uint64 Elapsed_nsec() const { using namespace std::chrono; if (running) { return duration_cast(Now() - epoch + total).count();