Debian Codegraph @

plat/nvidia/tegra/include/lib/profiler.h

raw
1 /*
2 * Copyright (c) 2017, Arm Limited and Contributors. All rights reserved.
3 * Copyright (c) 2020, NVIDIA Corporation. All rights reserved.
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7
8 #ifndef PROFILER_H
9 #define PROFILER_H
10
11 /*******************************************************************************
12 * Number of bytes of memory used by the profiler on Tegra
13 ******************************************************************************/
14 #define PROFILER_SIZE_BYTES U(0x1000)
15
16 void boot_profiler_init(uint64_t shmem_base, uint32_t tmr_base);
17 void boot_profiler_add_record(const char *str);
18 void boot_profiler_deinit(void);
19
20 #endif /* PROFILER_H */