raw_time

Section: WIN SYSTEM (1W)
Updated: 2005.3.17
Index Return to Main Contents
 

NAME

raw_time - Time staggering filter for RAW format data  

SYNOPSIS

raw_time [-BD] inkey outkey shmsize chfile [ logfile ]

raw_timed [-B] inkey outkey shmsize chfile [ logfile ]

 

DESCRIPTION

Raw_time reads raw format data cyclically written in shared memory segment of a key inkey, staggers time according to chfile, and writes the results in the shared memory segment given by outkey. When the shared memory segment having the key outkey does not exist, the shared memory segment of size shmsize (KB) is created. When the segment already exists but has a size smaller than shmsize (KB), an error occurs. The shared memory key is a 32-bit integer value.

Raw_timed is initiated in daemon mode.

When log file name logfile is specified, operation log is set here. When it is not specified, log information is sent to the standard output (however, it is sent to syslogd(8) when the operation is made in daemon mode). Log file is opened/closed in each write.

chfile describes information [1] through [3] extracted from channel table file described in win(1W) (Even if [4] and after exists, they are bypassed. That is to say, it describes hexadecimal channel number, recorded flag, and time staggering amount (in ms with integer value) delimited by space or tab with one data per line. When time staggering amount is positive, time stamp of data is subtracted by the time staggering amount, and when it is negative the data is added with the time staggering amount. The purpose of this operation is to ensure consistency with the fact that field [3] of channel table file represents line delay time. Only the channel of which recording flag is not 0 and of which delay time is not 0 is transmitted to outkey. In addition, the line starting with '#' is also bypassed. When raw_time process receives a hang-up signal, it rereads the channel file.

Format on shared memory inkey must be one arranged in order of time (refer to order(1W)). Format of shared memory outkey will be format "with written time" (refer to recvt(1W)).

When raw_time is initiated without argument, brief usage is displayed.

 

OPTIONS

-B
Writes in output shared memory in "format having block size also at the end of block." Refer to recvt(1W) and order(1W) for this.
-D
Is initiated in daemon mode.

 

SOURCE

raw_time.c
 

SEE ALSO

win(1W), order(1W), recvt(1W), wtime(1W)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SOURCE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 03:58:33 GMT, September 20, 2017