profiler.h 660 B

1234567891011121314151617181920
  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. #ifndef PROFILER_H
  8. #define PROFILER_H
  9. /*******************************************************************************
  10. * Number of bytes of memory used by the profiler on Tegra
  11. ******************************************************************************/
  12. #define PROFILER_SIZE_BYTES U(0x1000)
  13. void boot_profiler_init(uint64_t shmem_base, uint32_t tmr_base);
  14. void boot_profiler_add_record(const char *str);
  15. void boot_profiler_deinit(void);
  16. #endif /* PROFILER_H */