(self, filename)
Write the profile data to a file we know how to load back.
Write the profile data to a file we know how to load back.
Write the profile data to a file we know how to load back .
def dump_stats(self, filename):
        """Write the profile data to a file we know how to load back."""
        with open(filename, 'wb') as f:
            marshal.dump(self.stats, f)
def dump_stats ( self , filename ) : with open ( filename , 'wb' ) as f : marshal . dump ( self . stats , f )