def write_info_by_index(self):
     fields = self._sdb.db.writestable.colnames
     for r in pytable_utils.get_sorted(self._sdb.db.writestable, "index"):
         yield {f: r[f] for f in fields}
Beispiel #2
0
 def trace_write_min_max(self):
     r = pytable_utils.get_sorted(self._tdb.db.writestable, "index",
                                  "index")
     return (min(r), max(r))
 def reloc_info_by_cardinal(self, names):
     rows = pytable_utils.get_sorted(self._sdb.db.relocstable, 'cardinal')
     for r in filter(lambda x: x['name'] in names, rows):
         yield (r['name'], r['relbegin'], r['size'], r['reloffset'])
Beispiel #4
0
 def trace_write_by_callindex(self):
     fields = self._tdb.db.writestable.colnames
     for r in pytable_utils.get_sorted(self._tdb.db.writestable,
                                       "callindex"):
         yield {f: r[f] for f in fields}