PSPSDK 2025-04-22
Loading...
Searching...
No Matches
pspprof.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
3 * -----------------------------------------------------------------------
4 * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5 *
6 * pspprof.h - Prototypes for the profiler library
7 *
8 * Copyright (c) 2006 Urchin
9 *
10 */
11#ifndef __PSPPROF_H__
12#define __PSPPROF_H__
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18
25__attribute__((__no_instrument_function__, __no_profile_instrument_function__))
26void gprof_start(void);
27
35__attribute__((__no_instrument_function__, __no_profile_instrument_function__))
36void gprof_stop(const char* filename, int should_dump);
37
38#ifdef __cplusplus
39}
40#endif
41
42#endif /* __PSPPROF_H__ */
void gprof_start(void)
Start the profiler.
Definition prof.c:170
void gprof_stop(const char *filename, int should_dump)
Stop the profiler.
Definition prof.c:179