Searched refs:cpc_buf_t (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libcpc/common/ |
H A D | libcpc.h | 51 typedef struct __cpc_buf cpc_buf_t; typedef 93 extern cpc_buf_t *cpc_buf_create(cpc_t *cpc, cpc_set_t *set); 94 extern int cpc_buf_destroy(cpc_t *cpc, cpc_buf_t *buf); 133 extern int cpc_set_sample(cpc_t *cpc, cpc_set_t *set, cpc_buf_t *buf); 135 extern void cpc_buf_sub(cpc_t *cpc, cpc_buf_t *ds, cpc_buf_t *a, cpc_buf_t *b); 136 extern void cpc_buf_add(cpc_t *cpc, cpc_buf_t *ds, cpc_buf_t *a, cpc_buf_t *b); 137 extern void cpc_buf_copy(cpc_t *cpc, cpc_buf_t *ds, cpc_buf_t *src); 138 extern void cpc_buf_zero(cpc_t *cpc, cpc_buf_t *buf); 143 extern int cpc_buf_get(cpc_t *cpc, cpc_buf_t *buf, int index, uint64_t *val); 144 extern int cpc_buf_set(cpc_t *cpc, cpc_buf_t *buf, int index, uint64_t val); [all …]
|
H A D | libcpc.c | 359 cpc_buf_t * 362 cpc_buf_t *buf; in cpc_buf_create() 393 cpc_buf_destroy(cpc_t *cpc, cpc_buf_t *buf) in cpc_buf_destroy() 395 cpc_buf_t *cbp, *prev; in cpc_buf_destroy() 630 cpc_set_sample(cpc_t *cpc, cpc_set_t *set, cpc_buf_t *buf) in cpc_set_sample() 666 cpc_buf_sub(cpc_t *cpc, cpc_buf_t *ds, cpc_buf_t *a, cpc_buf_t *b) in cpc_buf_sub() 683 cpc_buf_add(cpc_t *cpc, cpc_buf_t *ds, cpc_buf_t *a, cpc_buf_t *b) in cpc_buf_add() 700 cpc_buf_copy(cpc_t *cpc, cpc_buf_t *ds, cpc_buf_t *src) in cpc_buf_copy() 712 cpc_buf_zero(cpc_t *cpc, cpc_buf_t *buf) in cpc_buf_zero() 724 cpc_buf_get(cpc_t *cpc, cpc_buf_t *buf, int index, uint64_t *val) in cpc_buf_get() [all …]
|
H A D | libcpc_impl.h | 66 cpc_buf_t *cb_next; /* List of all bufs */ 93 cpc_buf_t *cpc_bufs; /* List of existing bufs */
|
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | cpucmds.h | 55 extern int cpc_setgrp_getbufs(cpc_setgrp_t *sgrp, cpc_buf_t ***data1, 56 cpc_buf_t ***data2, cpc_buf_t ***scratch);
|
H A D | setgrp.c | 50 cpc_buf_t *data1; 51 cpc_buf_t *data2; 52 cpc_buf_t *scratch; 198 cpc_setgrp_getbufs(cpc_setgrp_t *sgrp, cpc_buf_t ***data1, cpc_buf_t ***data2, in cpc_setgrp_getbufs() 199 cpc_buf_t ***scratch) in cpc_setgrp_getbufs()
|
H A D | cputrack.c | 291 char *pevent, cpc_buf_t *buf, int nreq, const char *evname) in print_sample() 326 cpc_buf_t **data1, **data2, **scratch; in pinit_lwp() 389 cpc_buf_t **data1, **data2, **scratch; in pfini_lwp() 443 cpc_buf_t **data1, **data2, **scratch; in plwp_create() 465 cpc_buf_t **data1, **data2, **scratch; in plwp_exit() 490 cpc_buf_t **data1, **data2, **scratch; in pexec() 534 cpc_buf_t **data1, **data2, **scratch; in pexit() 569 cpc_buf_t **data1, **data2, **scratch, *tmp; in ptick()
|
H A D | cpustat.c | 334 print_sample(processorid_t cpuid, cpc_buf_t *buf, int nreq, const char *setname, in print_sample() 405 print_total(int ncpus, cpc_buf_t *buf, int nreq, const char *setname) in print_total() 437 cpc_buf_t **data1, **data2, **scratch; in gtick() 438 cpc_buf_t *tmp; in gtick() 634 cpc_buf_t **data1, **data2, **scratch; in cpustat()
|