From 481f13c6a3cf93e9eded54134a860e715e0eeed5 Mon Sep 17 00:00:00 2001
From: Jaron Kent-Dobias <jaron@kent-dobias.com>
Date: Wed, 26 Mar 2025 16:50:06 -0300
Subject: Added timestamp to filename.

---
 walk.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/walk.cpp b/walk.cpp
index ded191a..a755a98 100644
--- a/walk.cpp
+++ b/walk.cpp
@@ -170,7 +170,8 @@ int main(int argc, char* argv[]) {
 
   Real timeSinceWrite = Δw;
 
-  std::ofstream outfile(std::to_string(N) + "_" + std::to_string(E) + "_" + std::to_string(std::log10(Δt)) + "_" + std::to_string(Δw) + ".dat", std::ios::out | std::ios::binary);
+  auto tag = std::chrono::high_resolution_clock::now();
+  std::ofstream outfile(std::to_string(N) + "_" + std::to_string(E) + "_" + std::to_string(-std::log10(Δt)) + "_" + std::to_string(Δw) + "_" +  std::to_string(tag.time_since_epoch().count())+ ".dat", std::ios::out | std::ios::binary);
 
   for (Real Jᵢ : model.J) {
     float Jif = Jᵢ;
-- 
cgit v1.2.3-70-g09d2