/** Adds a marker to this log with the specified name. */ public synchronized void add(String name, long threadId) { if (mFinished) { throw new IllegalStateException("Marker added to finished log"); } mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime())); }
/** Adds a marker to this log with the specified name. */ public synchronized void add(String name, long threadId) { if (mFinished) { throw new IllegalStateException("Marker added to finished log"); } mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime())); }
/** Adds a marker to this log with the specified name. */ public synchronized void add(String name, long threadId) { if (mFinished) { throw new IllegalStateException("Marker added to finished log"); } mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime())); }
/** Adds a marker to this log with the specified name. */ /* * 添加一个 tag - 线程id 保存在一个 Marker 内 * 并且添加到一个 List 内 * 常用于 保存 Request.addMarker(tag) 和 Request.finish(tag) */ public synchronized void add(String name, long threadId) { if (mFinished) { throw new IllegalStateException("Marker added to finished log"); } // 保存一个 Marker mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime())); }
/** Adds a marker to this log with the specified name. */ public synchronized void add(String name, long threadId) { if (mFinished) { throw new IllegalStateException("Marker added to finished log"); } mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime())); }
/** Adds a marker to this log with the specified name. */ public synchronized void add(String name, long threadId) { if (mFinished) { throw new IllegalStateException("Marker added to finished log"); } mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime())); }
/** Adds a marker to this log with the specified name. */ public synchronized void add(String name, long threadId) { if (mFinished) { throw new IllegalStateException("Marker added to finished log"); } mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime())); }
/** Adds a marker to this log with the specified name. */ public synchronized void add(String name, long threadId) { if (mFinished) { throw new IllegalStateException("Marker added to finished log"); } mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime())); }
/** Adds a marker to this log with the specified name. */ public synchronized void add(String name, long threadId) { if (mFinished) { throw new IllegalStateException("Marker added to finished log"); } mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime())); }
/** Adds a marker to this log with the specified name. */ public synchronized void add(String name, long threadId) { if (mFinished) { throw new IllegalStateException("Marker added to finished log"); } mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime())); }
/** Adds a marker to this log with the specified name. */ public synchronized void add(String name, long threadId) { if (mFinished) { throw new IllegalStateException("Marker added to finished log"); } mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime())); }
/** Adds a marker to this log with the specified name. */ public synchronized void add(String name, long threadId) { if (mFinished) { throw new IllegalStateException("Marker added to finished log"); } mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime())); }
/** Adds a marker to this log with the specified name. */ public synchronized void add(String name, long threadId) { if (mFinished) { throw new IllegalStateException("Marker added to finished log"); } mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime())); }
/** Adds a marker to this log with the specified name. */ public synchronized void add(String name, long threadId) { if (mFinished) { throw new IllegalStateException("Marker added to finished log"); } mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime())); }