def time_seconds_to_ns(time_seconds):
    """Converts a time value in seconds to a time value in nanoseconds.

    `time_seconds` is a `float` as returned by `time.time()` which represents
    the number of seconds since the epoch.

    The returned value is an `int` representing the number of nanoseconds since
    the epoch.
    """
    return int(time_seconds * 1000000000.0)
