BT_ASSERT_PRE_NON_NULL(ns, "Nanoseconds (output)");
BT_ASSERT_PRE(frequency != UINT64_C(-1) && frequency != 0,
"Invalid frequency: freq=%" PRIu64, frequency);
BT_ASSERT_PRE_NON_NULL(ns, "Nanoseconds (output)");
BT_ASSERT_PRE(frequency != UINT64_C(-1) && frequency != 0,
"Invalid frequency: freq=%" PRIu64, frequency);