This functions control the amount of printed information in the MWDriver. This is controlled through "levels", where a level of 0 is the most important and 99 is the least important. You can set the debug level to only print levels n and below.Yes, this *is* a global function. However, everyone needs to use it, and making it a static member of MWDriver would mean that you'd have to type MWDriver::MWprintf(), which would get downright annoying.
Other suggestions would be welcome.
Here's a proposed layout of how the numbers should work:
- 10 : Big errors, major events
- 20 : Statistics at the end, user results
- 30 : User-defined results, info, etc
- 40 : Hosts up/down, other minor events
- 50 : Checkpointing information
- 60 : Sending/Receiving work
- 70 : Misc messges...
- 80 : Pointers!
- 90 : Even more pointers, debugging info, etc
Remember, you've got 9 levels in between each of these, so feel free to be creative....
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de