Apama Documentation : Connecting Apama Applications to External Components : Developing Custom Adapters : C/C++ Plug-in Support APIs : Using the latency framework
Using the latency framework
 
C/C++ timestamp
C/C++ timestamp set
C/C++ timestamp configuration object
C/C++ latency framework API
The latency framework API provides a way to measure adapter latency by attaching high-resolution timing data to events as they stream into, through, and out of the adapter. Developers can then use these events to compute upstream, downstream, and round-trip latency numbers, including latency across multiple adapters.
The sendNormalisedEvent() and sendTransportEvent() functions contain an AP_TimestampSet parameter that carries the microsecond-accurate timestamps that can be used to compute the desired statistics.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback