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