Panda3D
config_pstats.h
1 // Filename: config_pstats.h
2 // Created by: drose (09Jul00)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef CONFIG_PSTATS_H
16 #define CONFIG_PSTATS_H
17 
18 #include "pandabase.h"
19 
20 #include "notifyCategoryProxy.h"
21 #include "dconfig.h"
22 #include "configVariableString.h"
23 #include "configVariableInt.h"
24 #include "configVariableDouble.h"
25 #include "configVariableBool.h"
26 
27 // Configure variables for pstats package.
28 
29 ConfigureDecl(config_pstats, EXPCL_PANDA_PSTATCLIENT, EXPTP_PANDA_PSTATCLIENT);
30 NotifyCategoryDecl(pstats, EXPCL_PANDA_PSTATCLIENT, EXPTP_PANDA_PSTATCLIENT);
31 
32 extern EXPCL_PANDA_PSTATCLIENT ConfigVariableString pstats_name;
33 extern EXPCL_PANDA_PSTATCLIENT ConfigVariableDouble pstats_max_rate;
34 extern EXPCL_PANDA_PSTATCLIENT ConfigVariableBool pstats_threaded_write;
35 extern EXPCL_PANDA_PSTATCLIENT ConfigVariableInt pstats_max_queue_size;
36 extern EXPCL_PANDA_PSTATCLIENT ConfigVariableDouble pstats_tcp_ratio;
37 
38 extern EXPCL_PANDA_PSTATCLIENT ConfigVariableString pstats_host;
39 extern EXPCL_PANDA_PSTATCLIENT ConfigVariableInt pstats_port;
40 extern EXPCL_PANDA_PSTATCLIENT ConfigVariableDouble pstats_target_frame_rate;
41 extern EXPCL_PANDA_PSTATCLIENT ConfigVariableBool pstats_gpu_timing;
42 
43 extern EXPCL_PANDA_PSTATCLIENT ConfigVariableBool pstats_scroll_mode;
44 extern EXPCL_PANDA_PSTATCLIENT ConfigVariableDouble pstats_history;
45 extern EXPCL_PANDA_PSTATCLIENT ConfigVariableDouble pstats_average_time;
46 
47 extern EXPCL_PANDA_PSTATCLIENT ConfigVariableBool pstats_mem_other;
48 
49 extern EXPCL_PANDA_PSTATCLIENT void init_libpstatclient();
50 
51 #endif
This is a convenience class to specialize ConfigVariable as a boolean type.
This is a convenience class to specialize ConfigVariable as a floating-point type.
This is a convenience class to specialize ConfigVariable as a string type.
This is a convenience class to specialize ConfigVariable as an integer type.