37 namespace rp{
namespace arch{
41 t.tv_sec = t.tv_nsec = 0;
42 clock_gettime(CLOCK_MONOTONIC, &t);
43 return t.tv_sec*1000000LL + t.tv_nsec/1000;
48 t.tv_sec = t.tv_nsec = 0;
49 clock_gettime(CLOCK_MONOTONIC, &t);
50 return t.tv_sec*1000L + t.tv_nsec/1000000L;