mirror of https://github.com/BOINC/boinc.git
parent
c6a1211706
commit
1345448cb5
|
@ -410,7 +410,7 @@ double TASK::cpu_time() {
|
|||
totTime = tKernel.QuadPart + tUser.QuadPart;
|
||||
|
||||
return totTime / 1.e7;
|
||||
#else if defined(__APPLE__)
|
||||
#elif defined(__APPLE__)
|
||||
// There's no easy way to get another process's CPU time in Mac OS X
|
||||
//
|
||||
return wall_cpu_time;
|
||||
|
|
Loading…
Reference in New Issue