0cb7c9aafe4bd16a743f9c982760638c9f7032ee
Refactored logClientSend in libCom/logClient/logClient.c; took the code between the mutex operations and moved it to a private method - sendLogMessageinChunks. Call this method once for the prefix (if it exists) and once for the actual message. Added ioCsh registration code into src/libCom/iocsh/libComRegister.c registering a command called "iocLogPrefix" that sets this prefix. Unit tested with and without prefixes. Performance tested with and without prefixes - without prefix is approx the same. With prefix is about twice the time (reflecting the two calls to sendLogMessageinChunks I think)
--------------------------------------------------------- EPICS Base - the central core of a control system toolkit --------------------------------------------------------- Copyright (c) 1991-2003 The University of Chicago, as Operator of Argonne National Laboratory. Copyright (c) 1991-2003 The Regents of the University of California, as Operator of Los Alamos National Laboratory. EPICS Base Versions 3.13.7 and higher are distributed subject to a Software License Agreement found in the file LICENSE that is included with this distribution. --------------------------------------------------------- Installation and release information can be found in the various files in the documentation subdirectory. Additional information about EPICS including mailing list archives and subscription instructions, documentation and training materials, additional components, links to other websites etc. is available on the EPICS home page at http://www.aps.anl.gov/epics/
Languages
C++
81.9%
C
8.6%
HTML
7.9%
Makefile
1.1%
DIGITAL Command Language
0.5%