blob: 684c872f0758e667100a3eb7a4852906de8ed911 [file] [log] [blame]
Varun Wadekar4967c3d2017-07-21 13:34:16 -07001/*
2 * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
Varun Wadekar2909fa32020-01-09 08:52:10 -08003 * Copyright (c) 2020, NVIDIA Corporation. All rights reserved.
Varun Wadekar4967c3d2017-07-21 13:34:16 -07004 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7
Varun Wadekar2909fa32020-01-09 08:52:10 -08008#ifndef PROFILER_H
9#define PROFILER_H
Varun Wadekar4967c3d2017-07-21 13:34:16 -070010
11/*******************************************************************************
12 * Number of bytes of memory used by the profiler on Tegra
13 ******************************************************************************/
14#define PROFILER_SIZE_BYTES U(0x1000)
15
16void boot_profiler_init(uint64_t shmem_base, uint32_t tmr_base);
17void boot_profiler_add_record(const char *str);
18void boot_profiler_deinit(void);
19
Varun Wadekar2909fa32020-01-09 08:52:10 -080020#endif /* PROFILER_H */