public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Larmour <jlarmour@redhat.com>
To: Andrea Acquaviva <aacquaviva@deis.unibo.it>
Cc: "ecos-discuss@sources.redhat.com" <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS]Strongarm rtc and oscr
Date: Tue, 13 Feb 2001 09:05:00 -0000	[thread overview]
Message-ID: <3A896945.B4930864@redhat.com> (raw)
In-Reply-To: <3A894DE3.A9D479FD@deis.unibo.it>

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

  reply	other threads:[~2001-02-13  9:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-13  7:07 Andrea Acquaviva
2001-02-13  9:05 ` Jonathan Larmour [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A896945.B4930864@redhat.com \
    --to=jlarmour@redhat.com \
    --cc=aacquaviva@deis.unibo.it \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).