From 7fe9129b881ec1af0d3391d176414fba72a0495c Mon Sep 17 00:00:00 2001 From: "vdeo@aorts" Date: Tue, 19 Sep 2023 04:04:24 +0000 Subject: [PATCH] Switch CLOCK_REALTIME to CLOCK_MILK; ignore egg --- .gitignore | 3 +++ src/CommandLineInterface/milkDebugTools.h | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4246790d..9938eb35 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,6 @@ plugins/milk-extra-src/OpticsMaterials plugins/milk-extra-src/WFpropagate *-code-workspace + + +*.egg-info \ No newline at end of file diff --git a/src/CommandLineInterface/milkDebugTools.h b/src/CommandLineInterface/milkDebugTools.h index dfc5c432..b86d009a 100644 --- a/src/CommandLineInterface/milkDebugTools.h +++ b/src/CommandLineInterface/milkDebugTools.h @@ -227,7 +227,7 @@ typedef int errno_t; abort(); \ } \ data.testpoint.line = __LINE__; \ - clock_gettime(CLOCK_REALTIME, &data.testpoint.time); \ + clock_gettime(CLOCK_MILK, &data.testpoint.time); \ } while (0) /** @@ -353,7 +353,7 @@ typedef int errno_t; abort(); \ } \ data.testpoint.line = __LINE__; \ - clock_gettime(CLOCK_REALTIME, &data.testpoint.time); \ + clock_gettime(CLOCK_MILK, &data.testpoint.time); \ slen = snprintf(data.testpoint.msg, \ STRINGMAXLEN_FUNCTIONARGS, \ __VA_ARGS__); \