David Rose 22 лет назад
Родитель
Сommit
f84da13675
2 измененных файлов с 5 добавлено и 3 удалено
  1. 2 1
      panda/src/pstatclient/config_pstats.cxx
  2. 3 2
      panda/src/pstatclient/config_pstats.h

+ 2 - 1
panda/src/pstatclient/config_pstats.cxx

@@ -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);
 
 ////////////////////////////////////////////////////////////////////

+ 3 - 2
panda/src/pstatclient/config_pstats.h

@@ -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;