name = op.getName(); fgLongName = op.getForegroundLongName(); bgLongName = op.getBackgroundLongName(); fgTime = op.getForegroundTime(); fgOps = op.getForegroundOps(); bgTime = op.getBackgroundTime(); bgOps = op.getBackgroundOps();
name = source.readString(); fgLongName = source.readString(); bgLongName = source.readString(); fgTime = source.readLong(); fgOps = source.readLong(); bgTime = source.readLong(); bgOps = source.readLong();
return 0;
return bgOps != 0 ? (bgTime / (float)bgOps) : 0;
return fgOps != 0 ? (fgTime / (float)fgOps) : 0;
dest.writeString(name); dest.writeString(fgLongName); dest.writeString(bgLongName); dest.writeLong(fgTime); dest.writeLong(fgOps); dest.writeLong(bgTime); dest.writeLong(bgOps);