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