Project

General

Profile

Overview

TRACE is yet another logging (time stamp) tool, but it allows fast and/or slow logging - dynamically (you choose).

There are, as with other loggers, several different logging macros that can be used. One of them is a simple printf style macro which makes TRACE almost as easy to use as printf -- you can include the header and insert TRACEs into your code and that's it (no library to link against as the default). Each TRACE is timestamped with the system time-of-day (microsecond resolution) and can be sent to a circular memory buffer (for fast logging). When sending to the memory buffer, delayed message formatting can be utilized to make your logging much faster, for example, being written
to a file.

Tracing can be controlled via environment variables and dynamically from outside the program so no extra command line parsing code is needed. TRACE includes a linux kernel module which will send scheduling and interrupt events to a circular memory buffer so that these events can be correlated with TRACEs from users' programs.

For the fast memory logging, the package includes a utility to display the logging and a "trace_delta.pl" script which can be used to get delta times between events with min, max, and average statistics.

Release at:
http://scisoft.fnal.gov/scisoft/packages/TRACE/

Spent time

0.00 hour

Details | Report