public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Nelly PISON <nelly.pison@elios-informatique.fr>
Cc: eCos Discussion <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] _ftime function
Date: Tue, 17 May 2005 16:43:00 -0000	[thread overview]
Message-ID: <1116326288.22383.41.camel@hermes> (raw)
In-Reply-To: <4289C472.4080904@elios-informatique.fr>

On Tue, 2005-05-17 at 12:16 +0200, Nelly PISON wrote:
> Hello,
> 
> We're working on a project  and testing it on the Linux synthetic target.
> We need to read the absolute time in ms and we searh for the fonction 
> _ftime and structure _timeb that are used in the snmp package.
> But we have undefined reference error then . We search _ftime in all the 
> packages and don't founf it!!
> How can we do to have this function defined?

'ftime()' is obsolete and not implemented by eCos.  The reference in the
SNMP package is unused.

Try looking at 'gettimeofday()'.  One example is in:
  packages/net/ppp/current/src/sys-ecos.c

Note: unless your target implements a 'wallclock' device and you somehow
set the time, eCos will not have any notion of the absolute time, only 
how long it has been running.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

      reply	other threads:[~2005-05-17 10:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-17 15:47 Nelly PISON
2005-05-17 16:43 ` Gary Thomas [this message]

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=1116326288.22383.41.camel@hermes \
    --to=gary@mlbassoc.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=nelly.pison@elios-informatique.fr \
    /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).