#include <stdio.h>
#include "../libslang.h"
#include <stdlib.h>
#include <string.h>
#include <newt.h>
#include <linux/rbtree.h>
#include "../../util/evsel.h"
#include "../../util/evlist.h"
#include "../../util/hist.h"
#include "../../util/pstack.h"
#include "../../util/sort.h"
#include "../../util/util.h"
#include "../browser.h"
#include "../helpline.h"
#include "../util.h"
#include "../ui.h"
#include "map.h"
Go to the source code of this file.
#define HPP__COLOR_FN |
( |
|
_name, |
|
|
|
_field |
|
) |
| |
Value:static int hist_browser__hpp_color_ ## _name(
struct perf_hpp *hpp, \
double
percent = 100.0 * he->stat._field / hists->stats.total_period; \
*(double *)hpp->ptr = percent; \
return scnprintf(hpp->buf, hpp->size,
"%6.2f%%", percent); \
}
Definition at line 568 of file hists.c.
#define LEVEL_OFFSET_STEP 3 |