Home
last modified time | relevance | path

Searched refs:entry_size (Results 1 – 6 of 6) sorted by relevance

/tools/perf/lib/
Dxyarray.c7 struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size) in xyarray__new() argument
9 size_t row_size = ylen * entry_size; in xyarray__new()
13 xy->entry_size = entry_size; in xyarray__new()
25 size_t n = xy->entries * xy->entry_size; in xyarray__reset()
/tools/perf/util/
Dxyarray.c7 struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size) in xyarray__new() argument
9 size_t row_size = ylen * entry_size; in xyarray__new()
13 xy->entry_size = entry_size; in xyarray__new()
25 size_t n = xy->entries * xy->entry_size; in xyarray__reset()
Dauxtrace.c1369 size_t entry_size; member
1375 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, in auxtrace_cache__new() argument
1397 c->entry_size = entry_size; in auxtrace_cache__new()
1439 return malloc(c->entry_size); in auxtrace_cache__alloc_entry()
Dauxtrace.h485 struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size,
Dbpf-loader.c1421 if (xy->row_size / xy->entry_size != 1) { in apply_config_evsel_for_key()
1444 events = xy->entries / (xy->row_size / xy->entry_size); in apply_config_evsel_for_key()
/tools/perf/lib/include/internal/
Dxyarray.h10 size_t entry_size; member
17 struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size);
23 return &xy->contents[x * xy->row_size + y * xy->entry_size]; in xyarray__entry()