blob: a7d5e7bf4d94551073da4b929e402a51ff2fd502 [file] [log] [blame]
Varun Wadekar4967c3d2017-07-21 13:34:16 -07001/*
Govindraj Rajaeee28e72023-08-01 15:52:40 -05002 * 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 */