#include <pStatPianoRoll.h>
Inheritance diagram for PStatPianoRoll:
Public Member Functions | |
PStatPianoRoll (PStatMonitor *monitor, int thread_index, int xsize, int ysize) | |
virtual | ~PStatPianoRoll () |
void | update () |
INLINE void | set_horizontal_scale (float time_width) |
INLINE float | get_horizontal_scale () const |
INLINE int | timestamp_to_pixel (float time) const |
INLINE float | pixel_to_timestamp (int x) const |
Protected Member Functions | |
void | changed_size (int xsize, int ysize) |
void | force_redraw () |
virtual void | normal_guide_bars () |
virtual void | begin_draw () |
virtual void | begin_row (int row) |
virtual void | draw_bar (int row, int from_x, int to_x) |
virtual void | end_row (int row) |
virtual void | end_draw () |
virtual void | idle () |
Private Types | |
typedef pvector< ColorBar > | ColorBars |
typedef pmap< int, BarBuilder > | PageData |
Private Member Functions | |
void | compute_page (const PStatFrameData &frame_data) |
Private Attributes | |
int | _thread_index |
float | _time_width |
float | _start_time |
PageData | _page_data |
int | _current_frame |
|
Definition at line 86 of file pStatPianoRoll.h. |
|
Definition at line 99 of file pStatPianoRoll.h. |
|
Definition at line 92 of file pStatPianoRoll.cxx. References _current_frame, PStatGraph::_guide_bar_units, _start_time, _thread_index, _time_width, PStatGraph::GBU_hz, PStatGraph::GBU_ms, PStatGraph::GBU_show_units, normal_guide_bars(), and pstats_target_frame_rate. |
|
Definition at line 110 of file pStatPianoRoll.cxx. |
|
Reimplemented in GtkStatsPianoRoll. Definition at line 205 of file pStatPianoRoll.cxx. Referenced by force_redraw(). |
|
Definition at line 218 of file pStatPianoRoll.cxx. Referenced by force_redraw(). |
|
Definition at line 150 of file pStatPianoRoll.cxx. References PStatGraph::_xsize, PStatGraph::_ysize, force_redraw(), and normal_guide_bars(). Referenced by GtkStatsPianoRoll::configure_event_impl(). |
|
Definition at line 288 of file pStatPianoRoll.cxx. References PStatGraph::_labels, PStatGraph::_labels_changed, _page_data, _start_time, PStatFrameData::get_end(), PStatFrameData::get_num_events(), PStatFrameData::get_start(), PStatFrameData::get_time(), PStatFrameData::get_time_collector(), PStatClientData::has_collector(), and size_t. Referenced by update(). |
|
Reimplemented in GtkStatsPianoRoll. Definition at line 229 of file pStatPianoRoll.cxx. Referenced by force_redraw(). |
|
Reimplemented in GtkStatsPianoRoll. Definition at line 251 of file pStatPianoRoll.cxx. Referenced by force_redraw(). |
|
Definition at line 240 of file pStatPianoRoll.cxx. Referenced by force_redraw(). |
|
Definition at line 167 of file pStatPianoRoll.cxx. References PStatPianoRoll::ColorBar::_end, PStatGraph::_labels, _page_data, PStatPianoRoll::ColorBar::_start, begin_draw(), begin_row(), draw_bar(), end_draw(), end_row(), and timestamp_to_pixel(). Referenced by changed_size(), GtkStatsPianoRoll::mark_dead(), and update(). |
|
Referenced by GtkStatsPianoRoll::begin_draw(), and GtkStatsPianoRoll::end_draw(). |
|
Reimplemented in GtkStatsPianoRoll. Definition at line 262 of file pStatPianoRoll.cxx. Referenced by update(). |
|
Implements PStatGraph. Definition at line 193 of file pStatPianoRoll.cxx. References _time_width, PStatGraph::get_xsize(), and PStatGraph::update_guide_bars(). Referenced by changed_size(), and PStatPianoRoll(). |
|
|
|
Referenced by GtkStatsPianoWindow::menu_hscale(). |
|
Referenced by force_redraw(). |
|
Definition at line 119 of file pStatPianoRoll.cxx. References _current_frame, _thread_index, compute_page(), force_redraw(), PStatThreadData::get_frame(), PStatThreadData::get_latest_frame_number(), PStatClientData::get_num_collectors(), PStatClientData::get_num_threads(), PStatClientData::get_thread_data(), idle(), and PStatThreadData::is_empty(). Referenced by GtkStatsPianoWindow::idle(). |
|
Definition at line 101 of file pStatPianoRoll.h. Referenced by PStatPianoRoll(), and update(). |
|
Definition at line 100 of file pStatPianoRoll.h. Referenced by compute_page(), and force_redraw(). |
|
Definition at line 79 of file pStatPianoRoll.h. Referenced by compute_page(), and PStatPianoRoll(). |
|
Definition at line 76 of file pStatPianoRoll.h. Referenced by PStatPianoRoll(), and update(). |
|
Definition at line 78 of file pStatPianoRoll.h. Referenced by normal_guide_bars(), and PStatPianoRoll(). |