Panda3D
|
00001 // Filename: pStatViewLevel.I 00002 // Created by: drose (19Jul00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 00016 //////////////////////////////////////////////////////////////////// 00017 // Function: PStatViewLevel::get_collector 00018 // Access: Public 00019 // Description: Returns the Collector index associated with this 00020 // level. 00021 //////////////////////////////////////////////////////////////////// 00022 INLINE int PStatViewLevel:: 00023 get_collector() const { 00024 return _collector; 00025 } 00026 00027 //////////////////////////////////////////////////////////////////// 00028 // Function: PStatViewLevel::get_value_alone 00029 // Access: Public 00030 // Description: Returns the total level value (or elapsed time value) 00031 // for this Collector, not including any values 00032 // accounted for by its child Collectors. 00033 //////////////////////////////////////////////////////////////////// 00034 INLINE double PStatViewLevel:: 00035 get_value_alone() const { 00036 return _value_alone; 00037 }