I checked in a change so that the wrapper measures the
CPU time of the app's entire process tree.

Note: this involves enumerating all the processes in the system,
so it could take a little time.
For this reason I have the wrapper measure the app's CPU time
only every 10 sec.
Maybe I'm being paranoid and this could be changed to 1 sec.

None of this has any effect on credit, which uses
elapsed time rather than CPU time.

Also: the mechanism for handling fraction done (via a file)
wasn't working; I fixed this.

-- David

> ---------------------------- Original Message ----------------------------
> Subject:  [boinc_projects] Wrapper doesn't consider all used cpu time
> From:     "yoyo"<[email protected]>
> Date:     Sat, November 26, 2011 1:46 pm
>
> I use the standard wrapper to run legacy applications. The child tree
> sometimes is:
> boinc ->  wrapper ->  yafu ->  ggnfs
>
> At least on Windows the wrapper determines only the used cpu_time of
> it's direct child (yafu) but doesn't consider ggnfs. The cpu_time is
> determined by using the API function GetProcessTimes.
>
> 1) Can this be enhanced to add also the cpu_time of the children?
> I have now workunits where run time is 5 times larger than cpu_time. But
> the work_unit was running the whole time.
>
> 2) How does the CreditNew system is working in this case?
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to