Hi all:

I had to define an interval today for a SEC ruleset. Since calendar
rules only fire at an exact time, the calendar rule to define my
interval had to fire every minute during the interval to make sure
that the interval context was defined in case sec restarted during the
interval.

This took three calendar rules and seems to be a waste of cpu
cycles even with a context of  [ ! interval_active ].

Would it be useful to define an optional time2 parameter (and possibly
action2) for Calendar with the following semantics:

  if the calendar rule has not yet been triggered, and the current
    time is between time and time2, execute action.

  At time time2, execute action2.

This means at SEC startup, the calendar rule will trigger if the time
is between the two times. This means that the rule should be triggered
without the delay between SEC startup and the next minute
interval. Also this will allow a more compact way to specify two
actions that should run at an absolute time relative to each other.

--
                                -- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to