mali_timestamp.h 671 B

1234567891011121314151617181920212223242526
  1. /*
  2. * This confidential and proprietary software may be used only as
  3. * authorised by a licensing agreement from ARM Limited
  4. * (C) COPYRIGHT 2010-2011, 2013 ARM Limited
  5. * ALL RIGHTS RESERVED
  6. * The entire notice above must be reproduced on all authorised
  7. * copies and copies may only be made to the extent permitted
  8. * by a licensing agreement from ARM Limited.
  9. */
  10. #ifndef __MALI_TIMESTAMP_H__
  11. #define __MALI_TIMESTAMP_H__
  12. #include "mali_osk.h"
  13. MALI_STATIC_INLINE _mali_osk_errcode_t _mali_timestamp_reset(void)
  14. {
  15. return _MALI_OSK_ERR_OK;
  16. }
  17. MALI_STATIC_INLINE u64 _mali_timestamp_get(void)
  18. {
  19. return _mali_osk_time_get_ns();
  20. }
  21. #endif /* __MALI_TIMESTAMP_H__ */