Add HZ_TO_NS macro

Este commit está contenido en:
Daniel Ribeiro 2011-01-10 15:14:26 -02:00
padre c2616fb9fa
commit 3677f3ec3f
Se han modificado 1 ficheros con 2 adiciones y 0 borrados

Ver fichero

@ -59,6 +59,8 @@
#define MHZ(n) ((n) * 1000000)
#define GHZ(n) ((n) * 1000000000)
#define HZ_TO_NS(n) (1000000000 / (n))
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
#endif