By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 3193 - KArm: Idle detector expansion for suspend and resetting times for a task
Summary: KArm: Idle detector expansion for suspend and resetting times for a task
Status: NEW
Alias: None
Product: TDE
Classification: Unclassified
Component: tdepim (show other bugs)
Version: R14.0.x [Trinity]
Hardware: Other Linux
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2022-04-28 11:48 CDT by Roman Savochenko
Modified: 2022-04-28 11:53 CDT (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
karm_IdleDetect.patch (2.51 KB, patch)
2022-04-28 11:48 CDT, Roman Savochenko
Details | Diff
karm_ResetTaskTimes.patch (3.23 KB, patch)
2022-04-28 11:53 CDT, Roman Savochenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Savochenko 2022-04-28 11:48:11 CDT
Created attachment 3038 [details]
karm_IdleDetect.patch

Idle detection time is in seconds not minutes.

The time resetting after suspending causes negative times, then there used the system time function clock_gettime() for the CLOCK_MONOTONIC clock.
Comment 1 Roman Savochenko 2022-04-28 11:53:30 CDT
Created attachment 3039 [details]
karm_ResetTaskTimes.patch

Some time I need to reset the times for concrete task, mostly due to negative values after suspending, but I think that will be useful in generic cases also.