mali_profiling_internal.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * This confidential and proprietary software may be used only as
  3. * authorised by a licensing agreement from ARM Limited
  4. * (C) COPYRIGHT 2012-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_PROFILING_INTERNAL_H__
  11. #define __MALI_PROFILING_INTERNAL_H__
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #include "mali_osk.h"
  16. int _mali_internal_profiling_init(mali_bool auto_start);
  17. void _mali_internal_profiling_term(void);
  18. mali_bool _mali_internal_profiling_is_recording(void);
  19. mali_bool _mali_internal_profiling_have_recording(void);
  20. _mali_osk_errcode_t _mali_internal_profiling_clear(void);
  21. _mali_osk_errcode_t _mali_internal_profiling_get_event(u32 index, u64* timestamp, u32* event_id, u32 data[5]);
  22. u32 _mali_internal_profiling_get_count(void);
  23. int _mali_internal_profiling_stop(u32 * count);
  24. int _mali_internal_profiling_start(u32 * limit);
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. #endif /* __MALI_PROFILING_INTERNAL_H__ */