Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Side by Side Diff: tools/cygprofile/cygprofile_android.h

Issue 10697079: Upstreaming Cygprofile for Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698