Varun Wadekar | 4967c3d | 2017-07-21 13:34:16 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. |
Varun Wadekar | 2909fa3 | 2020-01-09 08:52:10 -0800 | [diff] [blame^] | 3 | * Copyright (c) 2020, NVIDIA Corporation. All rights reserved. |
Varun Wadekar | 4967c3d | 2017-07-21 13:34:16 -0700 | [diff] [blame] | 4 | * |
| 5 | * SPDX-License-Identifier: BSD-3-Clause |
| 6 | */ |
| 7 | |
Varun Wadekar | 2909fa3 | 2020-01-09 08:52:10 -0800 | [diff] [blame^] | 8 | #ifndef PROFILER_H |
| 9 | #define PROFILER_H |
Varun Wadekar | 4967c3d | 2017-07-21 13:34:16 -0700 | [diff] [blame] | 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 | |
Varun Wadekar | 2909fa3 | 2020-01-09 08:52:10 -0800 | [diff] [blame^] | 20 | #endif /* PROFILER_H */ |