blob: 60f8d804abce2f7b0ae72d7cd09def61e07387a9 [file] [log] [blame]
Varun Wadekar4967c3d2017-07-21 13:34:16 -07001/*
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
15void boot_profiler_init(uint64_t shmem_base, uint32_t tmr_base);
16void boot_profiler_add_record(const char *str);
17void boot_profiler_deinit(void);
18
19#endif /* __PROFILER_H__ */