Run perfsampler in QThread