#include <pStatThreadData.h>
Inheritance diagram for PStatThreadData:
Public Member Functions | |
PStatThreadData (const PStatClientData *client_data) | |
~PStatThreadData () | |
INLINE const PStatClientData * | get_client_data () const |
bool | is_empty () const |
int | get_latest_frame_number () const |
int | get_oldest_frame_number () const |
bool | has_frame (int frame_number) const |
const PStatFrameData & | get_frame (int frame_number) const |
float | get_latest_time () const |
float | get_oldest_time () const |
const PStatFrameData & | get_frame_at_time (float time) const |
int | get_frame_number_at_time (float time, int hint=-1) const |
const PStatFrameData & | get_latest_frame () const |
float | get_frame_rate (float time=3.0) const |
void | set_history (float time) |
float | get_history () const |
void | record_new_frame (int frame_number, PStatFrameData *frame_data) |
Private Types | |
typedef pdeque< PStatFrameData * > | Frames |
Private Attributes | |
const PStatClientData * | _client_data |
Frames | _frames |
int | _first_frame_number |
float | _history |
Static Private Attributes | |
PStatFrameData | _null_frame |
|
Definition at line 74 of file pStatThreadData.h. |
|
Definition at line 34 of file pStatThreadData.cxx. References _first_frame_number, _history, and pstats_history. |
|
Definition at line 47 of file pStatThreadData.cxx. |
|
Referenced by PStatView::set_thread_data(). |
|
Definition at line 110 of file pStatThreadData.cxx. References _first_frame_number, _frames, _null_frame, PStatFrameData::get_start(), nassertr, NULL, and num_frames. Referenced by PStatStripChart::draw_frames(), get_frame_at_time(), PStatStripChart::get_frame_data(), PStatStripChart::update(), and PStatPianoRoll::update(). |
|
Definition at line 171 of file pStatThreadData.cxx. References get_frame(), and get_frame_number_at_time(). |
|
Definition at line 186 of file pStatThreadData.cxx. References _first_frame_number, _frames, PStatFrameData::get_start(), and NULL. Referenced by PStatStripChart::draw_pixels(), PStatStripChart::get_collector_under_pixel(), get_frame_at_time(), and PStatStripChart::set_auto_vertical_scale(). |
|
Definition at line 240 of file pStatThreadData.cxx. References _frames, PStatFrameData::get_start(), nassertr, NULL, and num_frames. Referenced by GtkStatsStripWindow::idle(), and TextMonitor::new_data(). |
|
Definition at line 305 of file pStatThreadData.cxx. References _history. |
|
Definition at line 227 of file pStatThreadData.cxx. References _frames, _null_frame, and nassertr. |
|
Definition at line 69 of file pStatThreadData.cxx. References _first_frame_number, _frames, and nassertr. Referenced by PStatStripChart::draw_frames(), TextMonitor::new_data(), PStatStripChart::update(), and PStatPianoRoll::update(). |
|
Definition at line 147 of file pStatThreadData.cxx. |
|
Definition at line 81 of file pStatThreadData.cxx. References _first_frame_number, _frames, and nassertr. |
|
Definition at line 159 of file pStatThreadData.cxx. |
|
Definition at line 94 of file pStatThreadData.cxx. References _first_frame_number, _frames, and NULL. Referenced by PStatStripChart::draw_frames(), PStatStripChart::draw_pixels(), and PStatStripChart::set_auto_vertical_scale(). |
|
Definition at line 58 of file pStatThreadData.cxx. References _frames. Referenced by GtkStatsStripWindow::idle(), PStatStripChart::update(), and PStatPianoRoll::update(). |
|
Definition at line 322 of file pStatThreadData.cxx. References _first_frame_number, _frames, _history, PStatFrameData::get_start(), index, PStatFrameData::is_empty(), nassertv, nout, and NULL. |
|
Definition at line 292 of file pStatThreadData.cxx. References _history. |
|
Definition at line 72 of file pStatThreadData.h. |
|
Definition at line 76 of file pStatThreadData.h. Referenced by get_frame(), get_frame_number_at_time(), get_latest_frame_number(), get_oldest_frame_number(), has_frame(), PStatThreadData(), and record_new_frame(). |
|
Definition at line 75 of file pStatThreadData.h. Referenced by get_frame(), get_frame_number_at_time(), get_frame_rate(), get_latest_frame(), get_latest_frame_number(), get_latest_time(), get_oldest_frame_number(), get_oldest_time(), has_frame(), is_empty(), and record_new_frame(). |
|
Definition at line 77 of file pStatThreadData.h. Referenced by get_history(), PStatThreadData(), record_new_frame(), and set_history(). |
|
Definition at line 26 of file pStatThreadData.cxx. Referenced by get_frame(), and get_latest_frame(). |