Browse Source

pstats track lerp intervals better

David Rose 18 years ago
parent
commit
4b2e5394c4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      direct/src/interval/cInterval.cxx

+ 1 - 0
direct/src/interval/cInterval.cxx

@@ -592,6 +592,7 @@ setup_resume_until(double end_t) {
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 bool CInterval::
 bool CInterval::
 step_play() {
 step_play() {
+  PStatTimer timer(_ival_pcollector);
   double now = ClockObject::get_global_clock()->get_frame_time();
   double now = ClockObject::get_global_clock()->get_frame_time();
 
 
   if (_play_rate >= 0.0) {
   if (_play_rate >= 0.0) {