make statfile available to the whole backend, output timing results to statfile