* [ECOS]Strongarm rtc and oscr
@ 2001-02-13 7:07 Andrea Acquaviva
2001-02-13 9:05 ` Jonathan Larmour
0 siblings, 1 reply; 5+ messages in thread
From: Andrea Acquaviva @ 2001-02-13 7:07 UTC (permalink / raw)
To: ecos-discuss
Hi,
I want to measure eCos multi-threading energy costs. I use it on the
assabet board.
In order to measure context switch overhead, I need some infos about
timeslicing:
- the option CYGNUM_KERNEL_SCHED_TIMESLICE_TICKS refers to 3.6864MHz
clock ticks?
- How does eCos use real time clock (RTC) and operating system timer
(OSCR) of
StrongARM 1110?
Andrea.
--
Ing. Andrea Acquaviva
D.E.I.S. - Universita' di Bologna
V.le Risorgimento, 2 40136 BOLOGNA (ITALY)
Tel: (+39) 051 20 93787 Fax: (+39) 051 2093786
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ECOS]Strongarm rtc and oscr
2001-02-13 7:07 [ECOS]Strongarm rtc and oscr Andrea Acquaviva
@ 2001-02-13 9:05 ` Jonathan Larmour
2001-02-14 2:53 ` Andrea Acquaviva
2001-02-14 5:54 ` [ECOS] Bluetooth on eCos - available Nilendu Pal
0 siblings, 2 replies; 5+ messages in thread
From: Jonathan Larmour @ 2001-02-13 9:05 UTC (permalink / raw)
To: Andrea Acquaviva; +Cc: ecos-discuss
Andrea Acquaviva wrote:
>
> I want to measure eCos multi-threading energy costs. I use it on the
> assabet board.
Have you looked at the tm_basic kernel test?
> In order to measure context switch overhead, I need some infos about
> timeslicing:
>
> - the option CYGNUM_KERNEL_SCHED_TIMESLICE_TICKS refers to 3.6864MHz
> clock ticks?
Yes.
> - How does eCos use real time clock (RTC) and operating system timer
> (OSCR) of
> StrongARM 1110?
An interesting question because we are considering changing the way it
operates right now! The interesting part is in
hal/arm/sa11x0/var/current/src/sa11x0_misc.c and hal_clock_rest() and
hal_clock_read(). Currently it resets it to 0 each interrupt, but we may be
about to change it to make it a freerunning counter.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ECOS]Strongarm rtc and oscr
2001-02-13 9:05 ` Jonathan Larmour
@ 2001-02-14 2:53 ` Andrea Acquaviva
2001-02-14 9:01 ` Jonathan Larmour
2001-02-14 5:54 ` [ECOS] Bluetooth on eCos - available Nilendu Pal
1 sibling, 1 reply; 5+ messages in thread
From: Andrea Acquaviva @ 2001-02-14 2:53 UTC (permalink / raw)
To: ecos-discuss
Jonathan Larmour wrote:
> Andrea Acquaviva wrote:
> >
> > I want to measure eCos multi-threading energy costs. I use it on the
> > assabet board.
>
> Have you looked at the tm_basic kernel test?
>
> > In order to measure context switch overhead, I need some infos about
> > timeslicing:
> >
> > - the option CYGNUM_KERNEL_SCHED_TIMESLICE_TICKS refers to 3.6864MHz
> > clock ticks?
>
> Yes.
>
> > - How does eCos use real time clock (RTC) and operating system timer
> > (OSCR) of
> > StrongARM 1110?
>
> An interesting question because we are considering changing the way it
> operates right now! The interesting part is in
> hal/arm/sa11x0/var/current/src/sa11x0_misc.c and hal_clock_rest() and
> hal_clock_read(). Currently it resets it to 0 each interrupt, but we may be
> about to change it to make it a freerunning counter.
>
> Jifl
> --
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
> Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Hi,
OK. I see that eCos uses oscr timer0 as a real time clock instead of RTC.
Now I'm looked at tm_basic test, and I have some additional questions:
- Can you explain me how the alarm_cb2 function is called? In the ref man
I found that it should be the DSR routine defined in clock.cxx
that calls the function which responds to an alarm. It's that right?
- When I want to install an rtc based alarm, what's the steps I must follow?
Thanks a lot for your help.
Andrea.
--
Ing. Andrea Acquaviva
D.E.I.S. - Universita' di Bologna
V.le Risorgimento, 2 40136 BOLOGNA (ITALY)
Tel: (+39) 051 20 93787 Fax: (+39) 051 2093786
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ECOS] Bluetooth on eCos - available
2001-02-13 9:05 ` Jonathan Larmour
2001-02-14 2:53 ` Andrea Acquaviva
@ 2001-02-14 5:54 ` Nilendu Pal
1 sibling, 0 replies; 5+ messages in thread
From: Nilendu Pal @ 2001-02-14 5:54 UTC (permalink / raw)
To: ecos-discuss
Hi,
Just wanted to let you know that "Wipro Technologies" has
a complete Bluetooth stack, running on eCos. It includes the
hardware baseband as well as the software stack.
If any of your eCos projects need a bluetooth solution, send
us a mail, or visit this website.
Wipro Bluetooth
http://bluetooth.wipro.com
regards,
-Nilendu.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ECOS]Strongarm rtc and oscr
2001-02-14 2:53 ` Andrea Acquaviva
@ 2001-02-14 9:01 ` Jonathan Larmour
0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Larmour @ 2001-02-14 9:01 UTC (permalink / raw)
To: Andrea Acquaviva; +Cc: ecos-discuss
Andrea Acquaviva wrote:
>
> Now I'm looked at tm_basic test, and I have some additional questions:
>
> - Can you explain me how the alarm_cb2 function is called? In the ref man
> I found that it should be the DSR routine defined in clock.cxx
> that calls the function which responds to an alarm. It's that right?
Yes.
> - When I want to install an rtc based alarm, what's the steps I must follow?
http://sources.redhat.com/ecos/docs-latest/tutorials/arm/ecos-tutorial.14.html#pgfId=1741808
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-02-14 9:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-13 7:07 [ECOS]Strongarm rtc and oscr Andrea Acquaviva
2001-02-13 9:05 ` Jonathan Larmour
2001-02-14 2:53 ` Andrea Acquaviva
2001-02-14 9:01 ` Jonathan Larmour
2001-02-14 5:54 ` [ECOS] Bluetooth on eCos - available Nilendu Pal
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).