Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81c262b6 authored by Charles Munger's avatar Charles Munger
Browse files

Deprecate TimingLogger

Bug: 144042891
Test: No behavior changes
Change-Id: I78af3549a2bf56eb709c52483c97acc5ddb15e87
parent 8e54615a
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -48521,12 +48521,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 {
+7 −0
Original line number Diff line number Diff line
@@ -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 {

    /**