ec_timestamp.h 291 B

123456789101112131415
  1. /*
  2. * Copyright (c) 2025, sakumisu
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #ifndef EC_TIMESTAMP_H
  7. #define EC_TIMESTAMP_H
  8. void ec_timestamp_init(void);
  9. uint64_t ec_timestamp_get_time_ns(void);
  10. uint64_t ec_timestamp_get_time_us(void);
  11. #define jiffies ec_timestamp_get_time_us()
  12. #endif