public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Issue 1001684] New: Cyg_RealTimeClock::dsr is taking too much time
@ 2012-10-10 9:56 bugzilla-daemon
2012-10-10 9:57 ` [Issue 1001684] " bugzilla-daemon
2012-10-10 13:16 ` bugzilla-daemon
0 siblings, 2 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-10-10 9:56 UTC (permalink / raw)
To: ecos-bugs
Please do not reply to this email. Use the web interface provided at:
https://bugzilla.ecoscentric.com/show_bug.cgi?id=1001684
Summary: Cyg_RealTimeClock::dsr is taking too much time
Product: eCos
Version: 2.0
Platform: Custom (Customer specific)
OS/Version: Other
Status: UNCONFIRMED
Severity: normal
Priority: normal
Component: Kernel
AssignedTo: unassigned@bugs.ecos.sourceware.org
ReportedBy: fserban@dover-pidg.com
QAContact: ecos-bugs@ecos.sourceware.org
CC: ecos-bugs@ecos.sourceware.org
Class: Advice Request
Hello,
When Jonathan and Alex visited us last week, we discussed about one of our
problem.
We want to be determinastic with a high priority task that is woken up by a
timer DSR (by posting a semaphore)
The problem we are facing is that, sometimes the task is not awaken quickly
enough. There are some delay.
By using our debugger, I've seen that it is because Cyg_RealTimeClock::dsr
raises and takes too much time (I've attached the trace chart taken from our
debugger)
In this attached screenshot, we see that we spent mainly time in
Cyg_RealTimeClock::dsr and in Cyg_ThreadTimer::alarm
In our current source code, we created one alarm (QF_alarm_handler) an we may
create a second one.
The question is, is it possible to put all the code in Cyg_RealTimeClock::dsr
in a task with a lower priority than our timer task, and only wake up this task
in the new Cyg_RealTimeClock::dsr?
Or maybe, you have some other advice to better fit our need?
Thank you!
Anthony
PS: eCos options:
- CYGIMP_KERNEL_COUNTERS_SINGLE_LIST
- CYGIMP_KERNEL_COUNTERS_SORT_LIST is not defined
--
Configure issuemail: https://bugzilla.ecoscentric.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the issue.
You are on the CC list for the issue.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Issue 1001684] Cyg_RealTimeClock::dsr is taking too much time
2012-10-10 9:56 [Issue 1001684] New: Cyg_RealTimeClock::dsr is taking too much time bugzilla-daemon
@ 2012-10-10 9:57 ` bugzilla-daemon
2012-10-10 13:16 ` bugzilla-daemon
1 sibling, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-10-10 9:57 UTC (permalink / raw)
To: ecos-bugs
Please do not reply to this email. Use the web interface provided at:
https://bugzilla.ecoscentric.com/show_bug.cgi?id=1001684
--- Comment #1 from Serban <fserban@dover-pidg.com> 2012-10-10 10:56:55 BST ---
Created an attachment (id=1955)
--> (https://bugzilla.ecoscentric.com/attachment.cgi?id=1955)
trace screenshot
--
Configure issuemail: https://bugzilla.ecoscentric.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the issue.
You are on the CC list for the issue.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Issue 1001684] Cyg_RealTimeClock::dsr is taking too much time
2012-10-10 9:56 [Issue 1001684] New: Cyg_RealTimeClock::dsr is taking too much time bugzilla-daemon
2012-10-10 9:57 ` [Issue 1001684] " bugzilla-daemon
@ 2012-10-10 13:16 ` bugzilla-daemon
1 sibling, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-10-10 13:16 UTC (permalink / raw)
To: ecos-bugs
Please do not reply to this email. Use the web interface provided at:
https://bugzilla.ecoscentric.com/show_bug.cgi?id=1001684
Paul Beskeen <paulb@ecoscentric.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paulb@ecoscentric.com
AssignedTo|ecc-bugs-int@ecoscentric.co |jifl@ecoscentric.com
|m |
--
Configure issuemail: https://bugzilla.ecoscentric.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the issue.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Issue 1001684] New: Cyg_RealTimeClock::dsr is taking too much time
@ 2012-10-10 9:56 bugzilla-daemon
0 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-10-10 9:56 UTC (permalink / raw)
To: unassigned
Please do not reply to this email. Use the web interface provided at:
https://bugzilla.ecoscentric.com/show_bug.cgi?id=1001684
Summary: Cyg_RealTimeClock::dsr is taking too much time
Product: eCos
Version: 2.0
Platform: Custom (Customer specific)
OS/Version: Other
Status: UNCONFIRMED
Severity: normal
Priority: normal
Component: Kernel
AssignedTo: unassigned@bugs.ecos.sourceware.org
ReportedBy: fserban@dover-pidg.com
QAContact: ecos-bugs@ecos.sourceware.org
CC: ecos-bugs@ecos.sourceware.org
Class: Advice Request
Hello,
When Jonathan and Alex visited us last week, we discussed about one of our
problem.
We want to be determinastic with a high priority task that is woken up by a
timer DSR (by posting a semaphore)
The problem we are facing is that, sometimes the task is not awaken quickly
enough. There are some delay.
By using our debugger, I've seen that it is because Cyg_RealTimeClock::dsr
raises and takes too much time (I've attached the trace chart taken from our
debugger)
In this attached screenshot, we see that we spent mainly time in
Cyg_RealTimeClock::dsr and in Cyg_ThreadTimer::alarm
In our current source code, we created one alarm (QF_alarm_handler) an we may
create a second one.
The question is, is it possible to put all the code in Cyg_RealTimeClock::dsr
in a task with a lower priority than our timer task, and only wake up this task
in the new Cyg_RealTimeClock::dsr?
Or maybe, you have some other advice to better fit our need?
Thank you!
Anthony
PS: eCos options:
- CYGIMP_KERNEL_COUNTERS_SINGLE_LIST
- CYGIMP_KERNEL_COUNTERS_SORT_LIST is not defined
--
Configure issuemail: https://bugzilla.ecoscentric.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the issue.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-10-10 13:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-10 9:56 [Issue 1001684] New: Cyg_RealTimeClock::dsr is taking too much time bugzilla-daemon
2012-10-10 9:57 ` [Issue 1001684] " bugzilla-daemon
2012-10-10 13:16 ` bugzilla-daemon
2012-10-10 9:56 [Issue 1001684] New: " bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).