[ 
https://issues.apache.org/jira/browse/UIMA-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerry Cwiklik closed UIMA-3208.
-------------------------------

    Resolution: Fixed

> DUCCs Agent Incorrectly Computes Process CPU Usage 
> ---------------------------------------------------
>
>                 Key: UIMA-3208
>                 URL: https://issues.apache.org/jira/browse/UIMA-3208
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>    Affects Versions: 1.0-Ducc
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 1.0-Ducc
>
>
> Modify agent to calculate the process usage as follows:
> At the transition from init->run mode:
> capture totalCpuUsage value and save as totalCpuInitUsage
> capture current timestamp and save as clockAtStartOfRun
> On each agent report for the process (or process group?) while in running 
> state:
> compute lastPercentCPU = 100 * (totalCpuUsage - totalCpuInitUsage) / 
> (currentTimestamp - clockAtStartOfRun)
> send lastPercentCPU
> On each agent report after running state ends:
> send lastPercentCPU (e.g. do not recompute)



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to