• Home
  • Raw
  • Download

Lines Matching refs:snapshot

34             snapshot = UidSnapshot(entry)
35 self.foregroundWrittenBytes += snapshot.foregroundWrittenBytes
36 self.foregroundFsyncCalls += snapshot.foregroundFsyncCalls
37 self.backgroundFsyncCalls += snapshot.backgroundFsyncCalls
38 self.backgroundWrittenBytes += snapshot.backgroundWrittenBytes
39 self.totalWrittenBytes += snapshot.totalWrittenBytes
40 self.totalFsyncCalls += snapshot.totalFsyncCalls
41 self.uids[uid] = snapshot
110 def addSnapshot(self, snapshot): argument
111 assert snapshot.uid == self.uid
112 self.snapshots.append(snapshot)
113 self.foregroundWrittenBytes += snapshot.foregroundWrittenBytes
114 self.foregroundFsyncCalls += snapshot.foregroundFsyncCalls
115 self.backgroundFsyncCalls += snapshot.backgroundFsyncCalls
116 self.backgroundWrittenBytes += snapshot.backgroundWrittenBytes
117 self.totalWrittenBytes += snapshot.totalWrittenBytes
118 self.totalFsyncCalls += snapshot.totalFsyncCalls
119 self.appPackages = merge(self.appPackages, snapshot.appPackages)
164 def addSnapshot(self, snapshot): argument
165 self.snapshots.append(snapshot)
166 self.foregroundWrittenBytes += snapshot.foregroundWrittenBytes
167 self.foregroundFsyncCalls += snapshot.foregroundFsyncCalls
168 self.backgroundFsyncCalls += snapshot.backgroundFsyncCalls
169 self.backgroundWrittenBytes += snapshot.backgroundWrittenBytes
170 self.totalWrittenBytes += snapshot.totalWrittenBytes
171 self.totalFsyncCalls += snapshot.totalFsyncCalls
172 for uid in snapshot.uids:
174 self.uids[uid].addSnapshot(snapshot.uids[uid])
177 for snapshot in doc.snapshots:
178 self.addSnapshot(snapshot)