import time


def get_ticks() -> int:
    """get the time in nanoseconds

    Return the number of nanoseconds since get_ticks() was first called.

    Returns
    -------
        Time since get_ticks() was first called in nanoseconds.
    """
    return time.perf_counter_ns()