xref: /rk3399_ARM-atf/plat/nvidia/tegra/include/lib/profiler.h (revision fd7b287cbe9147ca9e07dd9f30c49c58bbdd92a8)
1 /*
2  * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef __PROFILER_H__
8 #define __PROFILER_H__
9 
10 /*******************************************************************************
11  * Number of bytes of memory used by the profiler on Tegra
12  ******************************************************************************/
13 #define PROFILER_SIZE_BYTES	U(0x1000)
14 
15 void boot_profiler_init(uint64_t shmem_base, uint32_t tmr_base);
16 void boot_profiler_add_record(const char *str);
17 void boot_profiler_deinit(void);
18 
19 #endif /* __PROFILER_H__ */
20