Added options to run different tests in module batchtest
[lttv.git] / ltt / branches / poly / include / lttv / lttv.h
1 /* This file is part of the Linux Trace Toolkit viewer
2 * Copyright (C) 2003-2004 Michel Dagenais
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 Version 2 as
6 * published by the Free Software Foundation;
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
16 * MA 02111-1307, USA.
17 */
18
19 #ifndef LTTV_H
20 #define LTTV_H
21
22 #include <lttv/attribute.h>
23
24 /* The modules in the visualizer communicate with the main module and
25 with each other through attributes. There is a global set of attributes */
26
27 LttvAttribute *lttv_global_attributes();
28
29
30 /* A number of global attributes are initialized before modules are
31 loaded, for example hooks lists. More global attributes are defined
32 in individual mudules to store information or to communicate with other
33 modules (GUI windows, menus...).
34
35 The hooks lists (lttv_hooks) are initialized in the main module and may be
36 used by other modules. Each corresponds to a specific location in the main
37 module processing loop. The attribute key and typical usage for each
38 is indicated.
39
40 /hooks/options/before
41 Good place to define new command line options to be parsed.
42
43 /hooks/options/after
44 Read the values set by the command line options.
45
46 /hooks/main/before
47
48 /hooks/main/after
49
50 */
51
52 #define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format)
53 #define g_debug(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format)
54
55 extern gboolean lttv_profile_memory;
56
57 #endif // LTTV_H
This page took 0.038006 seconds and 4 git commands to generate.