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