Commit 7e2ac56e authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Add an XXX comment about turning off unnecessary timestamps

parent 7b5ee1a6
......@@ -355,6 +355,10 @@ VSLb_ts(struct vsl_log *vsl, const char *event, double first, double *pprev,
double now)
{
/* XXX: Make an option to turn off some unnecessary timestamp
logging. This must be done carefully because some functions
(e.g. WRW_Reserve) takes the last timestamp as it's inital
value for timeout calculation. */
assert(!isnan(now) && now != 0.);
VSLb(vsl, SLT_Timestamp, "%s: %.6f %.6f %.6f",
event, now, now - first, now - *pprev);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment