public void update() { // Log.v("WeightWatcher.ProcessWatcher", // "MSG_UPDATE pss=" + mMemInfo.currentPss); mText.setText( "(" + mPid + (mPid == android.os.Process.myPid() ? "/A" // app : "/S") // service + ") up " + getUptimeString() + " P=" + mMemInfo.currentPss + " U=" + mMemInfo.currentUss); mRamGraph.invalidate(); }