1MSR_HOST_LATENCY(3) Library Functions Manual MSR_HOST_LATENCY(3)
2
3
4
6 msr_host_latency - Calculate latency between last sample in a Mini-SEED
7 record and the host computer time.
8
9
11 #include <libmseed.h>
12
13 double msr_host_latency ( MSRecord *msr );
14
15
17 msr_host_latency calculates the latency in seconds of the Mini-SEED
18 data as the difference between current time in UTC of the host computer
19 and the time of the last sample in the record.
20
21 This routine is only really useful when dealing with a telemetered data
22 stream or something similar.
23
24 Double precision is returned, but the true precision is dependent on
25 the accuracy of the host system clock among other things.
26
27
29 msr_host_latency returns seconds of latency or 0.0 on error (indistinā
30 guishable from 0.0 latency).
31
32
34 ms_intro(3) and msr_unpack(3).
35
36
38 Chad Trabant
39 IRIS Data Management Center
40
41
42
43Libmseed API 2006/02/27 MSR_HOST_LATENCY(3)