Even here it's misused. x * 1000 as nanoseconds makes x to be treated as microseconds, not milliseconds.