Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
nobody will launch the logging AFTER the application start
authorMartin Quinson <martin.quinson@loria.fr>
Sat, 4 Nov 2017 22:02:52 +0000 (23:02 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Sat, 4 Nov 2017 22:02:55 +0000 (23:02 +0100)
commit9b42c68d4923a1da7f03b862b05f7e77e655f875
tree3311ebd59fd4ce2495bba613405e6dae0a4aa619
parent961d5375f6d484cad47fabea773b02c399c31e17
nobody will launch the logging AFTER the application start

So there is no need to take a timestamp when the loggin is started,
and then substract it from the surf clock.

Plus, calling MSG_get_clock() from xbt_log_layout_simple_new() is not
a good idea since the later is called from xbt_log_preinit(), which
occures before MSG_get_clock() is usable (not all MC stuff is inited
on centos).
src/xbt/xbt_log_layout_format.c
src/xbt/xbt_log_layout_simple.c