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