Added some comments

This commit is contained in:
Pablo Rodriguez committed 2025-07-31 02:09:45 -04:00
1 parent 40b7639c66
commit ffe7731f10
7 files changed
+73 -4

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ TimestampLog::TimestampLog(std::string_view description, std::ostream &os):
void TimestampLog::vlog(std::string_view fmt, std::format_args args) {
// Format message as "[123.4567] Name: User Message\n"
using namespace std::chrono;
auto now = high_resolution_clock::now();
auto timestamp = duration_cast<duration<float>>(now - mStartTime).count();