EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: wrong timestamps in monitors
From: Maren Purves <[email protected]>
To: Benjamin Franksen <[email protected]>
Cc: [email protected]
Date: Mon, 02 Feb 2009 12:18:34 -1000
Benjamin Franksen wrote:
On Montag, 2. Februar 2009, Till Straumann wrote:
Benjamin Franksen wrote:
Our idea for an efficient implementation is based on the observation
that in a typical EPICS database there are only very few fields per
record that actually receive dbPuts (or get updated directly from
within base). Only for these fields is it necessary to provide storage
for the time of the last update. This storage will be allocated on
demand; each record must maintain a (typically very short) list of
(field index, timestamp) pairs; let us call it the 'field update list'
or short 'update list'. When reading the timestamp for a field, first
search the update list and use the contained stamp if one is found,
otherwise use the TIME field of the record.
How does that implement (b) ? If a field is never updated,
shouldn't that field then report the time when iocInit() was
executed?

Ah, a good objection. It looks as if we need to distinguish between fields that have

 i)   never been changed (timestamp = iocInit time)

only if PINI=Yes?

 ii)  last been updated by record support (timestamp = record's TIME field)
 iii) last been updated via dbPut or from base (timestamp = see update list)

?

Maren

Replies:
Re: wrong timestamps in monitors Benjamin Franksen
References:
wrong timestamps in monitors Benjamin Franksen
Re: wrong timestamps in monitors Benjamin Franksen
Re: wrong timestamps in monitors Till Straumann
Re: wrong timestamps in monitors Benjamin Franksen

Navigate by Date:
Prev: Re: wrong timestamps in monitors Benjamin Franksen
Next: EPICS Codeathon 2009 at Brookhaven Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: wrong timestamps in monitors Benjamin Franksen
Next: Re: wrong timestamps in monitors Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·