Merge "Deprecate TimingLogger" am: aec0ab99d4
am: 416618a591
Change-Id: Id637c04d15e48a928b7ff05a3133dbb5cf103656
This commit is contained in:
@@ -48530,12 +48530,12 @@ package android.util {
|
||||
method @Nullable public static java.util.List<java.lang.String> getTimeZoneIdsForCountryCode(@NonNull String);
|
||||
}
|
||||
|
||||
public class TimingLogger {
|
||||
ctor public TimingLogger(String, String);
|
||||
method public void addSplit(String);
|
||||
method public void dumpToLog();
|
||||
method public void reset(String, String);
|
||||
method public void reset();
|
||||
@Deprecated public class TimingLogger {
|
||||
ctor @Deprecated public TimingLogger(String, String);
|
||||
method @Deprecated public void addSplit(String);
|
||||
method @Deprecated public void dumpToLog();
|
||||
method @Deprecated public void reset(String, String);
|
||||
method @Deprecated public void reset();
|
||||
}
|
||||
|
||||
public class TypedValue {
|
||||
|
||||
@@ -44,7 +44,14 @@ import android.os.SystemClock;
|
||||
* D/TAG ( 3459): methodA: 6 ms, work C
|
||||
* D/TAG ( 3459): methodA: end, 16 ms
|
||||
* </pre>
|
||||
*
|
||||
* @deprecated Use {@link android.os.Trace}, or
|
||||
* <a href="https://developer.android.com/studio/profile/benchmark">Android Studio</a>. In
|
||||
* general, milliseconds is the wrong granularity for method-level tracing. Rounding errors
|
||||
* can overemphasize cheap operations, or underemphasize repeated operations. This timing
|
||||
* system also does not take CPU scheduling or frequency into account.
|
||||
*/
|
||||
@Deprecated
|
||||
public class TimingLogger {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user