36 void constrain(
int collector,
bool show_level);
67 bool _all_collectors_known;
const PStatViewLevel * get_top_level()
Returns a pointer to the level that corresponds to the Collector we've constrained to.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void set_to_frame(const PStatFrameData &frame_data)
Supplies the View with the data for the current frame.
The data associated with a particular client, but not with any one particular frame or thread: the li...
void unconstrain()
Restores the view to the full frame.
double get_net_value() const
Returns the total value accounted for by the frame (or by whatever Collector we are constrained to).
void set_to_time(double time)
Sets to the frame that occurred at the indicated time (or the nearest available frame),...
const PStatClientData * get_client_data()
Returns the current PStatClientData associated with the view.
This is a single level value, or band of color, within a View.
Contains the raw timing and level data for a single frame.
A View boils down the frame data to a linear list of times spent in a number of different Collectors,...
bool all_collectors_known() const
After a call to set_to_frame(), this returns true if all collectors in the FrameData are known by the...
A collection of FrameData structures for recently-received frames within a particular thread.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
const PStatThreadData * get_thread_data()
Returns the current PStatThreadData associated with the view.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void constrain(int collector, bool show_level)
Changes the focus of the View.
int get_level_index() const
Returns an index number that can be used to determine when the set of known levels has changed.
bool get_show_level() const
Returns true if we are showing level data, false if time data.
bool has_level(int collector) const
Returns true if there is a level defined for the particular collector, false otherwise.
PStatViewLevel * get_level(int collector)
Returns a pointer to the level that corresponds to the indicated Collector.