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()));
}

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 .
