def _dump(self):
try:<EOL><INDENT>self.temp.seek(<NUM_LIT:0>) <EOL>arr = np.fromfile(self.temp, self.dtype)<EOL>self.count_arr = arr['<STR_LIT:count>']<EOL>self.elapsed_arr = arr['<STR_LIT>']<EOL>if self.calc_stats:<EOL><INDENT>self.count_mean = np.mean(self.count_arr)<EOL>self.count_std = np.std(self.count_arr)<EOL>self.elapsed_mean = np.mean(self.elapsed_arr)<EOL>self.elapsed_std = np.std(self.elapsed_arr)<EOL><DEDENT>self._output()<EOL><DEDENT>finally:<EOL><INDENT>self.temp.close()<EOL>self._cleanup()<EOL><DEDENT>
dump data for an individual metric. For internal use only.