fixed error in sleep ms->s. Clean up left over debug information.

This commit is contained in:
suter_a 2016-04-11 12:21:47 +02:00
parent 2a041d4878
commit 1e0e19180f
2 changed files with 4 additions and 3 deletions

View File

@ -2159,7 +2159,7 @@ TString PFitter::GetCpuInfo()
cpuInfo = result;
} else if (strstr(sys_info.sysname, "Linux")) {
system("sysctl -n machdep.cpu.brand_string >> _musrfit_cpu_info.txt");
sleep(1000);
sleep(1);
char line[128], result[128];
ifstream fin("_musrfit_cpu_info.txt", ifstream::in);
@ -2187,7 +2187,7 @@ TString PFitter::GetGpuInfo()
TString gpuInfo = "??";
system("nvidia-smi -L > _nv.txt");
sleep(1000);
sleep(1);
bool done=false;
char line[128];

View File

@ -712,10 +712,11 @@ int main(int argc, char *argv[])
}
}
/*
cout << "debug> ++++++++++++" << endl;
cout << "debug> msrHandler->GetDKSTheoryString()='" << msrHandler->GetDKSTheoryString() << "'" << endl;
cout << "debug> ++++++++++++" << endl;
*/
// check if dump is wanted
if (success && !dump.IsNull()) {
cout << endl << "will write dump file ..." << endl;