bfd: use tw_timer_template instead of legacy wheel
[vpp.git] / src / vnet / bfd / bfd_debug.h
index 707ebab..6f4f60c 100644 (file)
     }                                                                    \
   while (0);
 
+#define BFD_CLK_FMT "%luus/%lu nsec/%.2fs"
+#define BFD_CLK_PRN(nsec) \
+  (nsec * NSEC_PER_SEC), (nsec), (((f64)nsec) / NSEC_PER_SEC)
+
 #else
 #define BFD_DBG(...)
 #define BFD_ERR(...)