summaryrefslogtreecommitdiff
path: root/include/lib/runtime_instr.h
blob: ed564e23266f857933ac597aebed877d2b31bd3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef __RUNTIME_INSTR_H__
#define __RUNTIME_INSTR_H__

#include <utils_def.h>

#define RT_INSTR_ENTER_PSCI		U(0)
#define RT_INSTR_EXIT_PSCI		U(1)
#define RT_INSTR_ENTER_HW_LOW_PWR	U(2)
#define RT_INSTR_EXIT_HW_LOW_PWR	U(3)
#define RT_INSTR_ENTER_CFLUSH		U(4)
#define RT_INSTR_EXIT_CFLUSH		U(5)
#define RT_INSTR_TOTAL_IDS		U(6)

#ifndef __ASSEMBLY__
PMF_DECLARE_CAPTURE_TIMESTAMP(rt_instr_svc)
PMF_DECLARE_GET_TIMESTAMP(rt_instr_svc)
#endif /* __ASSEMBLY__ */

#endif /* __RUNTIME_INSTR_H__ */