fprintf(stdout, "Currently we have %lf chi2/sec\n", UserCommon->Nchi2 / (((float)timeDifference)/CLOCKS_PER_SEC) ); // We have 1000 chi2 since the last time
// we called this function
UserCommon->referenceTime = clock(); // make current time reference time
UserCommon->Nchi2 = 0; // Reset number of chi2 counter
fflush(stdout); // Make sure the text is printed to stdout