|
static int | traceColumn (const ColumnDesc &) |
| Does the given column have to be traced for read and/or write? bit 0 set means read tracing; bit 1 write tracing. More...
|
|
static int | traceTable (const String &tableName, char oper) |
| If needed, write a trace message for table open or create. More...
|
|
static void | traceClose (const String &tableName) |
| If needed, trace closing a table. More...
|
|
static void | traceFile (int tabid, const String &oper) |
| If needed, trace an operation on a table. More...
|
|
static void | traceRefTable (const String &parentName, char oper) |
| If needed, write a trace message for reftable open, create, or close. More...
|
|
static void | trace (int tabid, const String &columnName, char oper) |
| If needed, write a trace message Write a trace message for a scalar column. More...
|
|
static void | trace (int tabid, const String &columnName, char oper, Int64 row) |
| Write a trace message for a scalar row. More...
|
|
static void | trace (int tabid, const String &columnName, char oper, const RefRows &rownrs) |
| Write a trace message for ranges of scalar rows. More...
|
|
static void | trace (int tabid, const String &columnName, char oper, const IPosition &shape) |
| Write a trace message for an array column. More...
|
|
static void | trace (int tabid, const String &columnName, char oper, Int64 row, const IPosition &shape) |
| Write a trace message for an array row. More...
|
|
static void | trace (int tabid, const String &columnName, char oper, const RefRows &rownrs, const IPosition &shape) |
| Write a trace message for ranges of array rows. More...
|
|
static void | trace (int tabid, const String &columnName, char oper, const IPosition &shape, const IPosition &blc, const IPosition &trc, const IPosition &inc) |
| Write a trace message for an array column slice. More...
|
|
static void | trace (int tabid, const String &columnName, char oper, Int64 row, const IPosition &shape, const IPosition &blc, const IPosition &trc, const IPosition &inc) |
| Write a trace message for an array row slice. More...
|
|
static void | trace (int tabid, const String &columnName, char oper, const RefRows &rownrs, const IPosition &shape, const IPosition &blc, const IPosition &trc, const IPosition &inc) |
| Write a trace message for ranges of array rows slice. More...
|
|
Class with static functions for tracing column IO.
Intended use:
Internal
Review Status
- Reviewed By:
- UNKNOWN
- Date Reviewed:
- before2004/08/25
Synopsis
This class contains some static functions to enable table and column tracing. It maintains a map of table name to table-id.
The following aipsrc variables variables determine if tracing will be done, and if so, which columns and operations will be traced.
-
table.trace.filename
gives the name of the file in which the trace will be written. If empty (default), no tracing will be done. If 'stdout' is given, tracing is done to stdout. If 'stderr' is given, tracing is done to stderr.
-
table.trace.operation
gives the operation to trace. be traced. It can be one or more of:
s: creation of RefTable (selection/sort/iter)
r: reads
w: writes
The default is ''. Note that opening and closing a PlainTable are always traced.
-
table.trace.columntype
gives the types of columns to trace for read and/or write. It can be one or more of:
s: scalar columns
a: array columns
r: record columns
The default is ''.
-
table.trace.column
gives names of additional columns to trace for read and/or write. The names are separated by commas without any whitespace. Each name can be a glob-like pattern.
The default is ''.
If both table.trace.columntype
and table.trace.column
have an empty value, all array columns are traced.
Definition at line 92 of file TableTrace.h.