Home
last modified time | relevance | path

Searched refs:cpc_buf_t (Results 1 – 7 of 7) sorted by relevance

/titanic_44/usr/src/lib/libcpc/common/
H A Dlibcpc.h51 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 Dlibcpc.c358 cpc_buf_t *
361 cpc_buf_t *buf; in cpc_buf_create()
392 cpc_buf_destroy(cpc_t *cpc, cpc_buf_t *buf) in cpc_buf_destroy()
394 cpc_buf_t *cbp, *prev; in cpc_buf_destroy()
629 cpc_set_sample(cpc_t *cpc, cpc_set_t *set, cpc_buf_t *buf) in cpc_set_sample()
665 cpc_buf_sub(cpc_t *cpc, cpc_buf_t *ds, cpc_buf_t *a, cpc_buf_t *b) in cpc_buf_sub()
682 cpc_buf_add(cpc_t *cpc, cpc_buf_t *ds, cpc_buf_t *a, cpc_buf_t *b) in cpc_buf_add()
699 cpc_buf_copy(cpc_t *cpc, cpc_buf_t *ds, cpc_buf_t *src) in cpc_buf_copy()
711 cpc_buf_zero(cpc_t *cpc, cpc_buf_t *buf) in cpc_buf_zero()
723 cpc_buf_get(cpc_t *cpc, cpc_buf_t *buf, int index, uint64_t *val) in cpc_buf_get()
[all …]
H A Dlibcpc_impl.h68 cpc_buf_t *cb_next; /* List of all bufs */
95 cpc_buf_t *cpc_bufs; /* List of existing bufs */
/titanic_44/usr/src/cmd/cpc/common/
H A Dcpucmds.h57 extern int cpc_setgrp_getbufs(cpc_setgrp_t *sgrp, cpc_buf_t ***data1,
58 cpc_buf_t ***data2, cpc_buf_t ***scratch);
H A Dsetgrp.c52 cpc_buf_t *data1;
53 cpc_buf_t *data2;
54 cpc_buf_t *scratch;
200 cpc_setgrp_getbufs(cpc_setgrp_t *sgrp, cpc_buf_t ***data1, cpc_buf_t ***data2, in cpc_setgrp_getbufs()
201 cpc_buf_t ***scratch) in cpc_setgrp_getbufs()
H A Dcputrack.c295 char *pevent, cpc_buf_t *buf, int nreq, const char *evname) in print_sample()
330 cpc_buf_t **data1, **data2, **scratch; in pinit_lwp()
397 cpc_buf_t **data1, **data2, **scratch; in pfini_lwp()
451 cpc_buf_t **data1, **data2, **scratch; in plwp_create()
473 cpc_buf_t **data1, **data2, **scratch; in plwp_exit()
498 cpc_buf_t **data1, **data2, **scratch; in pexec()
542 cpc_buf_t **data1, **data2, **scratch; in pexit()
577 cpc_buf_t **data1, **data2, **scratch, *tmp; in ptick()
H A Dcpustat.c315 print_sample(processorid_t cpuid, cpc_buf_t *buf, int nreq, const char *setname, in print_sample()
386 print_total(int ncpus, cpc_buf_t *buf, int nreq, const char *setname) in print_total()
418 cpc_buf_t **data1, **data2, **scratch; in gtick()
419 cpc_buf_t *tmp; in gtick()
615 cpc_buf_t **data1, **data2, **scratch; in cpustat()