add pstats-average-time

This commit is contained in:
David Rose 2004-01-14 19:28:20 +00:00
parent 169d882035
commit f84da13675
2 changed files with 5 additions and 3 deletions

View File

@ -18,7 +18,7 @@
#include "config_pstats.h"
#include <dconfig.h>
#include "dconfig.h"
ConfigureDef(config_pstats);
NotifyCategoryDef(pstats, "");
@ -43,6 +43,7 @@ const float pstats_target_frame_rate = config_pstats.GetFloat("pstats-target-fra
// not the client.
const bool pstats_scroll_mode = config_pstats.GetBool("pstats-scroll-mode", true);
const float pstats_history = config_pstats.GetFloat("pstats-history", 60.0);
const float pstats_average_time = config_pstats.GetFloat("pstats-average-time", 3.0);
const bool pstats_threaded_write = config_pstats.GetBool("pstats-threaded-write", false);
////////////////////////////////////////////////////////////////////

View File

@ -21,8 +21,8 @@
#include "pandabase.h"
#include <notifyCategoryProxy.h>
#include <dconfig.h>
#include "notifyCategoryProxy.h"
#include "dconfig.h"
// Configure variables for pstats package.
@ -37,6 +37,7 @@ extern EXPCL_PANDA const float pstats_target_frame_rate;
extern EXPCL_PANDA const bool pstats_scroll_mode;
extern EXPCL_PANDA const float pstats_history;
extern EXPCL_PANDA const float pstats_average_time;
extern EXPCL_PANDA const bool pstats_threaded_write;