| Index: base/android/third_party/cygprofile_startup/cygprofile_startup.h
|
| diff --git a/base/android/third_party/cygprofile_startup/cygprofile_startup.h b/base/android/third_party/cygprofile_startup/cygprofile_startup.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ff3e22997be1c36773754821a3e0a33c37c63831
|
| --- /dev/null
|
| +++ b/base/android/third_party/cygprofile_startup/cygprofile_startup.h
|
| @@ -0,0 +1,47 @@
|
| +/*
|
| + * cygprofile_startup.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_startup.cc for details on usage.
|
| + */
|
| +
|
| +#ifndef BASE_ANDROID_THIRD_PARTY_CYGPROFILE_STARTUP_CYGPROFILE_STARTUP_H_
|
| +#define BASE_ANDROID_THIRD_PARTY_CYGPROFILE_STARTUP_CYGPROFILE_STARTUP_H_
|
| +
|
| +namespace cygprofile_startup {
|
| +
|
| +#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_startup
|
| +
|
| +#endif
|
|
|