fromDOMHighResTimeStamp function
Converts a high-resolution timestamp from the browser performance API to an Int64 representing nanoseconds since Unix Epoch.
Implementation
@experimental
Int64 fromDOMHighResTimeStamp(num ts) {
return timeOrigin + msToNs(ts);
}