#1968: Output time stamp in verbose build log -------------------------+-------------------------------------------------- Reporter: knarf | Owner: Type: enhancement | Status: new Priority: optional | Milestone: Component: Cactus | Version: development version Keywords: | -------------------------+-------------------------------------------------- Timestamp includes sub-second granularity when available, and uses Perl to do so in a more portable way than 'date' likely could.
At the same time, don't let 'make' output the commands necessary to generate this debug output. This is not useful, except when debugging the debug output, which likely a user will never do.
Pull-request at https://bitbucket.org/cactuscode/cactus/pull-requests/32 /output-time-stamp-in-verbose-build-log/diff
#1968: Output time stamp in verbose build log --------------------------+------------------------------------------------- Reporter: knarf | Owner: Type: enhancement | Status: review Priority: optional | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by knarf):
* status: new => review
#1968: Output time stamp in verbose build log --------------------------+------------------------------------------------- Reporter: knarf | Owner: Type: enhancement | Status: review Priority: optional | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by knarf):
Adding these makes quick-and-dirty overviews like this possible: https://www.cct.lsu.edu/~knarf/build_times.png Another (but unrelated to this issue) would be: https://www.cct.lsu.edu/~knarf/build_lines.png
#1968: Output time stamp in verbose build log --------------------------+------------------------------------------------- Reporter: knarf | Owner: Type: enhancement | Status: review Priority: optional | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by knarf):
... of course only is built in non-parallel mode ...
#1968: Output time stamp in verbose build log --------------------------+------------------------------------------------- Reporter: knarf | Owner: Type: enhancement | Status: review Priority: optional | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by sbrandt):
One possibility would be to call perl with this string instead: {{{ eval { require("Time/HiRes.pm"); print(&Time::HiRes::gettimeofday()+0," "); }; if($@) { print time(); } }}} The advantage is that it will still give you a lores time if there is no HiRes.pm. I'm not sure if there are any machines out there that don't have HiRes.pm, however.
#1968: Output time stamp in verbose build log --------------------------+------------------------------------------------- Reporter: knarf | Owner: Type: enhancement | Status: review Priority: optional | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by knarf):
This is now implemented.
#1968: Output time stamp in verbose build log --------------------------+------------------------------------------------- Reporter: knarf | Owner: Type: enhancement | Status: closed Priority: optional | Milestone: Component: Cactus | Version: development version Resolution: fixed | Keywords: --------------------------+------------------------------------------------- Changes (by knarf):
* status: review => closed * resolution: => fixed
trac@lists.einsteintoolkit.org