def clear_stats
      clear_tcl = File.open("/var/tmp/clear-#{@buildtime}", 'w')
      clear_tcl.write clear_traffic_stats
      clear_tcl.close
      system "#{@ixia_exe} /var/tmp/clear-#{@buildtime}"
      File.delete clear_tcl
    end
def clear_stats
      clear_tcl = File.open("/var/tmp/clear-#{@buildtime}", 'w')
      clear_tcl.write clear_traffic_stats
      clear_tcl.close
      system "#{@ixia_exe} /var/tmp/clear-#{@buildtime}"
      File.delete clear_tcl
    end
Clear all Ixia stats. This removes "invalid" drops observed