set plot_results function apart & remove useless times

* Both of the two scripts uses the same function,
  so it is necessary to create this replaytools.
* the median, mean, worst time are not needed