diff options
author | 2018-07-27 17:37:51 -0700 | |
---|---|---|
committer | 2018-07-27 17:37:51 -0700 | |
commit | 7349045bf622eb87c159afa9acc3b9039f3215b8 (patch) | |
tree | 1a9036373dffb9cd51b12f577c74a691e4a126fd | |
parent | 64b4621f4f54d7662561f52b17d995d4029cd7fa (diff) | |
parent | d865b74f92fc2fc1dab95183e3de4c3021a9f7a6 (diff) |
Merge "Add availability information to the <android/trace.h> docs." am: dd2ded17b9 am: 2a618f079c
am: d865b74f92
Change-Id: Ie311078c896f1f8afe6ac55423283d1d924e6199
-rw-r--r-- | include/android/trace.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/android/trace.h b/include/android/trace.h index 4d57d4f369..eb7b259eec 100644 --- a/include/android/trace.h +++ b/include/android/trace.h @@ -25,6 +25,8 @@ * * These trace events can be collected and visualized using the Systrace tool. * For information about using the Systrace tool, read <a href="https://developer.android.com/studio/profile/systrace.html">Analyzing UI Performance with Systrace</a>. + * + * Available since API level 23. */ #ifndef ANDROID_NATIVE_TRACE_H @@ -42,6 +44,8 @@ extern "C" { /** * Returns true if tracing is enabled. Use this signal to avoid expensive computation only necessary * when tracing is enabled. + * + * Available since API level 23. */ bool ATrace_isEnabled() __INTRODUCED_IN(23); @@ -52,6 +56,8 @@ bool ATrace_isEnabled() __INTRODUCED_IN(23); * Note: At this time the vertical bar character '|' and newline character '\n' are used internally * by the tracing mechanism. If sectionName contains these characters they will be replaced with a * space character in the trace. + * + * Available since API level 23. */ void ATrace_beginSection(const char* sectionName) __INTRODUCED_IN(23); @@ -60,6 +66,8 @@ void ATrace_beginSection(const char* sectionName) __INTRODUCED_IN(23); * preceeded by a corresponding call to beginSection(char*) on the same thread. Calling this method * will mark the end of the most recently begun section of code, so care must be taken to ensure * that beginSection / endSection pairs are properly nested and called from the same thread. + * + * Available since API level 23. */ void ATrace_endSection() __INTRODUCED_IN(23); |