Commit ade8b01c authored by jdelange's avatar jdelange
Browse files

* po_hi_utils.h

   - Don't print messages written in VCD files
     Avoid useless debugging output



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@2726 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 90ad4e95
......@@ -60,11 +60,11 @@ void __po_hi_instrumentation_vcd_init (void);
st = __PO_HI_TIME_TO_US(__po_hi_vcd_start_time); ct = __PO_HI_TIME_TO_US(__po_hi_vcd_current_time); et = ct - st ; \
memset (buf, '\0', 1024); \
size_to_write = sprintf (buf, "#%llu\n", et); \
write (__po_hi_vcd_file, buf, size_to_write); printf (buf);\
write (__po_hi_vcd_file, buf, size_to_write);\
\
memset (buf, '\0', 1024); \
size_to_write = sprintf (buf, s, ##args); \
write (__po_hi_vcd_file, buf, size_to_write); printf(buf); \
write (__po_hi_vcd_file, buf, size_to_write); \
} \
pthread_mutex_unlock (&__po_hi_vcd_mutex); \
}
......
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