On Thu, Oct 24, 2013 at 6:15 AM, Michael Haberler <[email protected]>wrote:
> src/emc has some 56 references to fields called 'heartbeat', but its
> unclear what the intent and semantics are - AFAICT the only using code is
> in xemc.cc where it is used for some kind of change detection.
>
> Any idea what that field was supposed to serve? it looks a bit like 'lets
> see whether this component is still alive, like executing cyclically', but
> it isnt used systematically
>
>
>
Ho Ho Ho. You obviously haven't watched the Historical Documents (what, you
haven't seen the movie Galaxy Quest? It's a hoot.). This sounded to me like
a vestigial bit of the RCS philosophy, so I downloaded and grep'ped through
rcslib-2013.06.26.tar.gz.
doc/timingdiag.html:<DD>A graphical Java program that could be run inside a
web-browser as a stand-alone application. This is the only generic tool
that would interpret the application data inside the NML buffer, and the
only one that would repeatedly update the display. It could give one some
sense of how often the status buffer was being written by watching the
heartbeat, but there was no way to find out how often reads were occuring.
Also this tool needed access to additional configuration files and header
files to be completely functional and NML applications that did not use the
RCS-Design tool generally did not have these already set these up. (See <A
HREF="diagapplet">RCS Java-based Diagnostics Tool</a> and <A
HREF="javadiag.html">RCS Java-based Diagnostics Tool Instructions</a>)</DD>
skel/src/subMain.cc: subStat.heartbeat = 0;
skel/src/subMain.cc: subStat.heartbeat++;
skel/src/subIntf.cc: cms->update_with_name("heartbeat",heartbeat);
skel/src/supShell.cc: printf("heartbeat: %d\n", (int)
stat->heartbeat);
skel/src/supIntf.cc: cms->update_with_name("heartbeat",heartbeat);
skel/src/supIntf.hh: int heartbeat;
skel/src/supMain.cc: supStat.heartbeat = 0;
skel/src/supMain.cc: supStat.heartbeat++;
skel/src/subIntf.hh: int heartbeat;
skel/src/subShell.cc: printf("heartbeat: %d\n", (int)
stat->heartbeat);
src/java/diagapplet/CodeGen/DiagNMLmsg.java:// if
(info_token.indexOf("heartbeat") >= 0) {
src/java/diagapplet/CodeGen/DiagNMLmsg.java:// if
(info_token.indexOf("he
By the way, note the date of the tarball. Just 4 months old!!
Regards,
Kent
------------------------------------------------------------------------------
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=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers