Skip to content
Snippets Groups Projects
Commit 7491c8ae authored by Sam Yates's avatar Sam Yates
Browse files

Add basic debugging trace capability.

Defines a TRACE(...) macro that, when enabled at
compile time with -DWITH_TRACE, prints to std::cerr
the location in the source, a time stamp, and the
values of any variables given to the macro.

Uses a mutex to protect against simultaneous writes
to std::cerr when TBB is enabled; it is not
optimized for speed.
parent 7f0a2564
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment