OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * cygprofile_android.h - Header file for CygProfiler |
| 3 * |
| 4 * Michal Ludvig <michal@logix.cz> |
| 5 * http://www.logix.cz/michal/devel |
| 6 * |
| 7 * This source code is a public domain. |
| 8 * |
| 9 * See cygprofile_android.cc for details on usage. |
| 10 */ |
| 11 |
| 12 #ifndef TOOLS_CYGPROFILE_CYGPROFILE_ANDROID_H_ |
| 13 #define TOOLS_CYGPROFILE_CYGPROFILE_ANDROID_H_ |
| 14 |
| 15 namespace cygprofile { |
| 16 |
| 17 #ifdef __cplusplus |
| 18 extern "C" { |
| 19 #endif |
| 20 |
| 21 void cygprofile_enable(void) |
| 22 __attribute__((no_instrument_function)); |
| 23 void cygprofile_disable(void) |
| 24 __attribute__((no_instrument_function)); |
| 25 |
| 26 bool cygprofile_isenabled(void) |
| 27 __attribute__((no_instrument_function)); |
| 28 |
| 29 int cygprofile_setfilename(const char* filename) |
| 30 __attribute__((no_instrument_function)); |
| 31 |
| 32 char* cygprofile_getfilename(void) |
| 33 __attribute__((no_instrument_function)); |
| 34 |
| 35 void cygprofile_start(const char* filename) |
| 36 __attribute__((no_instrument_function)); |
| 37 |
| 38 void cygprofile_end(void) |
| 39 __attribute__((no_instrument_function)); |
| 40 |
| 41 #ifdef __cplusplus |
| 42 }; |
| 43 #endif |
| 44 |
| 45 } // namespace cygprofile |
| 46 |
| 47 #endif |
OLD | NEW |