Searched refs:ctc (Results 1 - 10 of 10) sorted by relevance

/freebsd-12-stable/contrib/processor-trace/libipt/src/
H A Dpt_time.c84 static int pt_time_ctc_delta(uint32_t *ctc_delta, uint32_t ctc, argument
93 if (ctc < last_ctc) {
94 ctc += 1u << (config->mtc_freq + pt_pl_mtc_bit_size);
99 if (ctc < last_ctc)
103 *ctc_delta = ctc - last_ctc;
111 static int pt_time_ctc_fc(uint64_t *fc, uint64_t ctc, argument
126 *fc = (ctc * ebx) / eax;
143 time->ctc = 0;
172 uint32_t ctc, mtc_freq, mtc_hi, ctc_mask; local
190 ctc
232 uint32_t last_ctc, ctc, ctc_delta; local
356 uint32_t last_ctc, ctc, ctc_delta; local
594 uint32_t last_ctc, ctc, ctc_delta, have_mtc; local
[all...]
H A Dpt_encoder.c454 uint16_t ctc, fc; local
460 ctc = packet->payload.tma.ctc;
468 pos = pt_encode_int(pos, ctc, pt_pl_tma_ctc_size);
482 *pos++ = packet->payload.mtc.ctc;
489 uint64_t ctc; local
491 ctc = (uint8_t) packet->payload.cyc.value;
492 ctc <<= pt_opm_cyc_shr;
495 byte[0] |= (uint8_t) ctc;
497 ctc
859 pt_encode_tma(struct pt_encoder *encoder, uint16_t ctc, uint16_t fc) argument
870 pt_encode_mtc(struct pt_encoder *encoder, uint8_t ctc) argument
880 pt_encode_cyc(struct pt_encoder *encoder, uint32_t ctc) argument
[all...]
H A Dpt_packet.c346 uint16_t ctc, fc; local
354 ctc = pos[pt_pl_tma_ctc_0];
355 ctc |= pos[pt_pl_tma_ctc_1] << 8;
363 packet->ctc = ctc;
378 packet->ctc = pos[pt_opcs_mtc];
/freebsd-12-stable/contrib/processor-trace/libipt/internal/include/
H A Dpt_encoder.h107 extern int pt_encode_tma(struct pt_encoder *, uint16_t ctc,
111 extern int pt_encode_mtc(struct pt_encoder *, uint8_t ctc);
H A Dpt_time.h54 uint32_t ctc; member in struct:pt_time
162 uint32_t ctc; member in struct:pt_time_cal
/freebsd-12-stable/cddl/contrib/opensolaris/common/ctf/
H A Dctf_create.c785 const ctf_funcinfo_t *ctc, const ctf_id_t *argv)
794 if (ctc == NULL || (ctc->ctc_flags & ~CTF_FUNC_VARARG) != 0 ||
795 (ctc->ctc_argc != 0 && argv == NULL))
798 vlen = ctc->ctc_argc;
799 if (ctc->ctc_flags & CTF_FUNC_VARARG)
806 if (ctf_lookup_by_id(&fpd, ctc->ctc_return) == NULL &&
807 ctf_dtd_lookup(fp, ctc->ctc_return) == NULL)
810 for (i = 0; i < ctc->ctc_argc; i++) {
826 dtd->dtd_data.ctt_type = (ushort_t)ctc
784 ctf_add_function(ctf_file_t *fp, uint_t flag, const ctf_funcinfo_t *ctc, const ctf_id_t *argv) argument
1265 ctf_funcinfo_t ctc; local
[all...]
/freebsd-12-stable/contrib/processor-trace/libipt/test/src/
H A Dptunit-time.c287 packet.ctc = 0xdc;
302 packet.ctc = 0xdc;
H A Dptunit-packet.c336 pfix->packet[0].payload.tma.ctc = 0x42;
349 pfix->packet[0].payload.tma.ctc = 0x42;
361 pfix->packet[0].payload.mtc.ctc = 0x23;
/freebsd-12-stable/contrib/processor-trace/libipt/include/
H A Dintel-pt.h687 uint16_t ctc; member in struct:pt_packet_tma
696 uint8_t ctc; member in struct:pt_packet_mtc
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_open.c1041 ctf_funcinfo_t ctc; local
1484 ctc.ctc_return = ctf_lookup_by_name(dmp->dm_ctfp, "int");
1485 ctc.ctc_argc = 0;
1486 ctc.ctc_flags = 0;
1489 CTF_ADD_ROOT, &ctc, NULL);

Completed in 142 milliseconds