add DEBUG::ProcessThreads as a debug tag for parallelization (probably to be renamed)
[ardour.git] / libs / ardour / debug.cc
1 /*
2     Copyright (C) 2009 Paul Davis
3
4     This program is free software; you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation; either version 2 of the License, or
7     (at your option) any later version.
8
9     This program is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
13
14     You should have received a copy of the GNU General Public License
15     along with this program; if not, write to the Free Software
16     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18 */
19
20 #include <cstring>
21 #include <cstdlib>
22 #include <iostream>
23
24 #include "ardour/debug.h"
25
26 using namespace std;
27
28 uint64_t PBD::DEBUG::MidiSourceIO = PBD::new_debug_bit ("midisourceio");
29 uint64_t PBD::DEBUG::MidiPlaylistIO = PBD::new_debug_bit ("midiplaylistio");
30 uint64_t PBD::DEBUG::MidiDiskstreamIO = PBD::new_debug_bit ("mididiskstreamio");
31 uint64_t PBD::DEBUG::SnapBBT = PBD::new_debug_bit ("snapbbt");
32 uint64_t PBD::DEBUG::Configuration = PBD::new_debug_bit ("configuration");
33 uint64_t PBD::DEBUG::Latency = PBD::new_debug_bit ("latency");
34 uint64_t PBD::DEBUG::Processors = PBD::new_debug_bit ("processors");
35 uint64_t PBD::DEBUG::ProcessThreads = PBD::new_debug_bit ("processthreads");
36 uint64_t PBD::DEBUG::Graph = PBD::new_debug_bit ("graph");
37 uint64_t PBD::DEBUG::Destruction = PBD::new_debug_bit ("destruction");
38 uint64_t PBD::DEBUG::MTC = PBD::new_debug_bit ("mtc");
39 uint64_t PBD::DEBUG::Transport = PBD::new_debug_bit ("transport");
40 uint64_t PBD::DEBUG::Slave = PBD::new_debug_bit ("slave");
41 uint64_t PBD::DEBUG::SessionEvents = PBD::new_debug_bit ("sessionevents");
42 uint64_t PBD::DEBUG::MidiIO = PBD::new_debug_bit ("midiio");
43 uint64_t PBD::DEBUG::MackieControl = PBD::new_debug_bit ("mackiecontrol");
44 uint64_t PBD::DEBUG::MidiClock = PBD::new_debug_bit ("midiclock");
45 uint64_t PBD::DEBUG::Monitor = PBD::new_debug_bit ("monitor");
46 uint64_t PBD::DEBUG::Solo = PBD::new_debug_bit ("solo");
47 uint64_t PBD::DEBUG::AudioPlayback = PBD::new_debug_bit ("audioplayback");
48