1 /** Aesalon, a tool to visualize program behaviour in real time.
2 Copyright (C) 2009-2011, Aesalon development team.
4 Aesalon is distributed under the terms of the GNU GPLv3. See
5 the included file LICENSE for more information.
7 @file src/monitor/Aesalon.cpp
12 #include "monitor/Coordinator.h"
13 #include "config/GlobalVault.h"
15 #include "storage/RTree.h"
18 int main(int argc
, char *argv
[]) {
19 Config::GlobalVault gv
;
20 Monitor::Coordinator
coordinator(argv
);
22 return coordinator
.returnValue();
26 int main(int argc
, char *argv
[]) {
27 typedef Storage::RTree
<double, int, 1, 5, 2> RTree
;
33 b
.setRange(RTree::Range(77.7, 79.2), 0);
35 b
.setRange(RTree::Range(64.9, 67), 0);
37 b
.setRange(RTree::Range(76.3, 78.9), 0);
39 b
.setRange(RTree::Range(21.1, 27.9), 0);
41 b
.setRange(RTree::Range(86.2, 88.5), 0);
43 b
.setRange(RTree::Range(2.2, 8), 0);
45 b
.setRange(RTree::Range(1.1, 5.3), 0);
47 b
.setRange(RTree::Range(78.4, 82.1), 0);
49 b
.setRange(RTree::Range(41.3, 43.9), 0);
51 b
.setRange(RTree::Range(86.2, 93.2), 0);
54 b
.setRange(RTree::Range(21.1, 27.9), 0);
56 b
.setRange(RTree::Range(2.2, 8), 0);
58 b
.setRange(RTree::Range(1.1, 5.3), 0);
61 class Processor
: public RTree::SearchProcessor
{
63 virtual bool process(const RTree::Bound
&bound
, int value
) {
64 Message(Debug
, "****\t\tFound value " << value
);
71 b
.setRange(RTree::Range(0.0, 8.0), 0);