diff --git a/packages/react-native/ReactCommon/react/utils/Telemetry.h b/packages/react-native/ReactCommon/react/utils/Telemetry.h index ac4c6a1eec8..d7ebf2b0e82 100644 --- a/packages/react-native/ReactCommon/react/utils/Telemetry.h +++ b/packages/react-native/ReactCommon/react/utils/Telemetry.h @@ -81,19 +81,6 @@ DestinationTimePointT clockCast(SourceTimePointT timePoint) timePoint - sourseClockNow + destinationClockNow); } -/* - * Returns a number of seconds that passed from the UNIX Epoch starting time - * point to a given time point. - * Also known as POSIX time or UNIX Timestamp. - */ -static inline double telemetryTimePointToSecondsSinceEpoch(TelemetryTimePoint timePoint) -{ - auto systemClockTimePoint = clockCast(timePoint); - return (double)std::chrono::duration_cast(systemClockTimePoint.time_since_epoch()) - .count() / - 1000000.0; -} - /* * Returns a number of milliseconds that represents the given duration object. */