Lines Matching refs:other
56 UserIo &operator=(const UserIo &other) {
57 uid = other.uid;
58 fgRead = other.fgRead;
59 bgRead = other.bgRead;
60 fgWrite = other.fgWrite;
61 bgWrite = other.bgWrite;
62 fgFsync = other.fgFsync;
63 bgFsync = other.bgFsync;
67 UserIo operator-(const UserIo &other) const {
70 r.fgRead = fgRead - other.fgRead;
71 r.bgRead = bgRead - other.bgRead;
72 r.fgWrite = fgWrite - other.fgWrite;
73 r.bgWrite = bgWrite - other.bgWrite;
74 r.fgFsync = fgFsync - other.fgFsync;
75 r.bgFsync = bgFsync - other.bgFsync;
79 UserIo operator+(const UserIo &other) const {
82 r.fgRead = fgRead + other.fgRead;
83 r.bgRead = bgRead + other.bgRead;
84 r.fgWrite = fgWrite + other.fgWrite;
85 r.bgWrite = bgWrite + other.bgWrite;
86 r.fgFsync = fgFsync + other.fgFsync;
87 r.bgFsync = bgFsync + other.bgFsync;