| Index: tools/cygprofile/cygprofile_android.h
|
| diff --git a/tools/cygprofile/cygprofile_android.h b/tools/cygprofile/cygprofile_android.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1d3ea68cea0fed0875e28692cf41ce2696eb0630
|
| --- /dev/null
|
| +++ b/tools/cygprofile/cygprofile_android.h
|
| @@ -0,0 +1,47 @@
|
| +/*
|
| + * cygprofile_android.h - Header file for CygProfiler
|
| + *
|
| + * Michal Ludvig <michal@logix.cz>
|
| + * http://www.logix.cz/michal/devel
|
| + *
|
| + * This source code is a public domain.
|
| + *
|
| + * See cygprofile_android.cc for details on usage.
|
| + */
|
| +
|
| +#ifndef TOOLS_CYGPROFILE_CYGPROFILE_ANDROID_H_
|
| +#define TOOLS_CYGPROFILE_CYGPROFILE_ANDROID_H_
|
| +
|
| +namespace cygprofile {
|
| +
|
| +#ifdef __cplusplus
|
| +extern "C" {
|
| + #endif
|
| +
|
| + void cygprofile_enable(void)
|
| + __attribute__((no_instrument_function));
|
| + void cygprofile_disable(void)
|
| + __attribute__((no_instrument_function));
|
| +
|
| + bool cygprofile_isenabled(void)
|
| + __attribute__((no_instrument_function));
|
| +
|
| + int cygprofile_setfilename(const char* filename)
|
| + __attribute__((no_instrument_function));
|
| +
|
| + char* cygprofile_getfilename(void)
|
| + __attribute__((no_instrument_function));
|
| +
|
| + void cygprofile_start(const char* filename)
|
| + __attribute__((no_instrument_function));
|
| +
|
| + void cygprofile_end(void)
|
| + __attribute__((no_instrument_function));
|
| +
|
| + #ifdef __cplusplus
|
| +};
|
| +#endif
|
| +
|
| +} // namespace cygprofile
|
| +
|
| +#endif
|
|
|