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