Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304871
b: refs/heads/master
c: 4656cca
h: refs/heads/master
i:
  304869: 4a43a28
  304867: f9d0d4c
  304863: b2a1325
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed May 3, 2012
1 parent 2959ad2 commit 9d3e2d1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0822cc80d9aee026b1ebe43c02dc01e0a0227864
refs/heads/master: 4656cca11b07a13785aa8574ed4db6c540e48ed8
9 changes: 9 additions & 0 deletions trunk/tools/perf/ui/browser.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,15 @@ unsigned int ui_browser__argv_refresh(struct ui_browser *browser)
return row;
}

void __ui_browser__vline(struct ui_browser *browser, unsigned int column,
u16 start, u16 end)
{
SLsmg_set_char_set(1);
ui_browser__gotorc(browser, start, column);
SLsmg_draw_vline(end - start + 1);
SLsmg_set_char_set(0);
}

void ui_browser__write_graph(struct ui_browser *browser __used, int graph)
{
SLsmg_set_char_set(1);
Expand Down
2 changes: 2 additions & 0 deletions trunk/tools/perf/ui/browser.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ int ui_browser__refresh(struct ui_browser *self);
int ui_browser__run(struct ui_browser *browser, int delay_secs);
void ui_browser__update_nr_entries(struct ui_browser *browser, u32 nr_entries);
void ui_browser__handle_resize(struct ui_browser *browser);
void __ui_browser__vline(struct ui_browser *browser, unsigned int column,
u16 start, u16 end);

int ui_browser__warning(struct ui_browser *browser, int timeout,
const char *format, ...);
Expand Down

0 comments on commit 9d3e2d1

Please sign in to comment.