Home | History | Annotate | Download | only in lib

Lines Matching defs:world

39   in dmprof. (For example, the "vm" world and the "malloc" world.)
143 def __init__(self, world):
145 self._world = world
329 self._world = dct['world']
336 if dct['world'] == 'vm':
338 elif dct['world'] == 'malloc':
341 LOGGER.error('Unknown sorter world type')
346 print >> result, 'world=%s' % self._world
358 if sorter_dict['world'] == 'vm':
360 elif sorter_dict['world'] == 'malloc':
363 LOGGER.error('Unknown sorter world type')
367 def world(self):
396 assert dct['world'] == 'vm'
409 assert dct['world'] == 'malloc'
452 if sorter.world not in self._sorters:
453 self._sorters[sorter.world] = []
454 self._sorters[sorter.world].append(sorter)
459 for world, sorters in self._sorters.iteritems():
461 print >> result, '%s: %s' % (world, sorter)
469 def iter_world(self, world):
470 for sorter in self._sorters.get(world, []):