fixed error in sleep ms->s. Clean up left over debug information.
This commit is contained in:
parent
2a041d4878
commit
1e0e19180f
@ -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];
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user