runtime_instr.h 620 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2016-2018, Arm Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef RUNTIME_INSTR_H
  7. #define RUNTIME_INSTR_H
  8. #include <lib/utils_def.h>
  9. #define RT_INSTR_ENTER_PSCI U(0)
  10. #define RT_INSTR_EXIT_PSCI U(1)
  11. #define RT_INSTR_ENTER_HW_LOW_PWR U(2)
  12. #define RT_INSTR_EXIT_HW_LOW_PWR U(3)
  13. #define RT_INSTR_ENTER_CFLUSH U(4)
  14. #define RT_INSTR_EXIT_CFLUSH U(5)
  15. #define RT_INSTR_TOTAL_IDS U(6)
  16. #ifndef __ASSEMBLER__
  17. PMF_DECLARE_CAPTURE_TIMESTAMP(rt_instr_svc)
  18. PMF_DECLARE_GET_TIMESTAMP(rt_instr_svc)
  19. #endif /* __ASSEMBLER__ */
  20. #endif /* RUNTIME_INSTR_H */