Skip to content

Commit

Permalink
Switch CLOCK_REALTIME to CLOCK_MILK; ignore egg
Browse files Browse the repository at this point in the history
  • Loading branch information
DasVinch authored and AO RTS2 Dell T630 committed Sep 19, 2023
1 parent 5d2f776 commit 7fe9129
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ plugins/milk-extra-src/OpticsMaterials
plugins/milk-extra-src/WFpropagate

*-code-workspace


*.egg-info
4 changes: 2 additions & 2 deletions src/CommandLineInterface/milkDebugTools.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

/**
Expand Down Expand Up @@ -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__); \
Expand Down

0 comments on commit 7fe9129

Please sign in to comment.