On Monday 02 February 2009 23:18, Maren Purves wrote:
> 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?
Surely not. Every field gets initialized at startup. PINI should be treated
like all other processing.
> > 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)
Ben
--
"TDD replaces a type checker in Ruby in the same way that a
strong drink replaces sorrows." (byorgey on #haskell)
Any text below this line has automatically been added by the
mail server and does not necessarily represent my personal opinion.
-------------------------------------------------------------------
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Glienicker Straße 100, 14109 Berlin
Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph
Stellvertretende Vorsitzende: Dr. Jutta Koch-Unterseher
Geschäftsführer: Prof. Dr. Anke Rita Pyzalla, Prof. Dr. Dr. h.c. Wolfgang Eberhardt, Dr. Ulrich Breuer
Sitz der Gesellschaft: Berlin Handelsregister: AG Charlottenburg, 89 HRB 5583
Information:
Durch die Fusion mit dem ehemaligen Hahn-Meitner-Institut (HMI) ist
BESSY nun Teil des neuen Helmholtz-Zentrum Berlin für Materialien
und Energie (HZB).
By the merger with the former Hahn-Meitner-Institut (HMI), BESSY
became part of the new Helmholtz-Zentrum Berlin für Materialien und
Energie (HZB).
Disclaimer automatically attached by the E-Mail Security Appliance
mail0.bessy.de 02/03/09 at Helmholtz-Zentrum Berlin GmbH.
- Replies:
- Re: wrong timestamps in monitors Maren Purves
- References:
- wrong timestamps in monitors Benjamin Franksen
- Re: wrong timestamps in monitors Benjamin Franksen
- Re: wrong timestamps in monitors Maren Purves
- Navigate by Date:
- Prev:
Re: Re: boot vxworks from ppcbug in mv5100 zhuangjian
- Next:
CALC record monitors Kasemir, Kay
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: wrong timestamps in monitors Maren Purves
- Next:
Re: wrong timestamps in monitors Maren Purves
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|