Searched refs:tcal (Results 1 - 5 of 5) sorted by relevance

/freebsd-current/contrib/processor-trace/libipt/src/
H A Dpt_time.c440 void pt_tcal_init(struct pt_time_cal *tcal) argument
442 if (!tcal)
445 memset(tcal, 0, sizeof(*tcal));
447 tcal->min_fcr = UINT64_MAX;
450 static int pt_tcal_have_fcr(const struct pt_time_cal *tcal) argument
452 if (!tcal)
455 return (tcal->min_fcr <= tcal->max_fcr);
458 int pt_tcal_fcr(uint64_t *fcr, const struct pt_time_cal *tcal) argument
471 pt_tcal_set_fcr(struct pt_time_cal *tcal, uint64_t fcr) argument
487 pt_tcal_update_psb(struct pt_time_cal *tcal, const struct pt_config *config) argument
499 pt_tcal_update_tsc(struct pt_time_cal *tcal, const struct pt_packet_tsc *packet, const struct pt_config *config) argument
518 pt_tcal_header_tsc(struct pt_time_cal *tcal, const struct pt_packet_tsc *packet, const struct pt_config *config) argument
567 pt_tcal_update_cbr(struct pt_time_cal *tcal, const struct pt_packet_cbr *packet, const struct pt_config *config) argument
579 pt_tcal_header_cbr(struct pt_time_cal *tcal, const struct pt_packet_cbr *packet, const struct pt_config *config) argument
602 pt_tcal_update_tma(struct pt_time_cal *tcal, const struct pt_packet_tma *packet, const struct pt_config *config) argument
614 pt_tcal_update_mtc(struct pt_time_cal *tcal, const struct pt_packet_mtc *packet, const struct pt_config *config) argument
729 pt_tcal_update_cyc(struct pt_time_cal *tcal, const struct pt_packet_cyc *packet, const struct pt_config *config) argument
747 pt_tcal_update_ovf(struct pt_time_cal *tcal, const struct pt_config *config) argument
[all...]
H A Dpt_query_decoder.c106 pt_tcal_init(&decoder->tcal);
156 pt_tcal_init(&decoder->tcal);
370 static int pt_qry_apply_tsc(struct pt_time *time, struct pt_time_cal *tcal, argument
381 errcode = pt_tcal_update_tsc(tcal, packet, config);
396 struct pt_time_cal *tcal,
407 errcode = pt_tcal_header_tsc(tcal, packet, config);
421 static int pt_qry_apply_cbr(struct pt_time *time, struct pt_time_cal *tcal, argument
432 errcode = pt_tcal_update_cbr(tcal, packet, config);
447 struct pt_time_cal *tcal,
458 errcode = pt_tcal_header_cbr(tcal, packe
395 pt_qry_apply_header_tsc(struct pt_time *time, struct pt_time_cal *tcal, const struct pt_packet_tsc *packet, const struct pt_config *config) argument
446 pt_qry_apply_header_cbr(struct pt_time *time, struct pt_time_cal *tcal, const struct pt_packet_cbr *packet, const struct pt_config *config) argument
472 pt_qry_apply_tma(struct pt_time *time, struct pt_time_cal *tcal, const struct pt_packet_tma *packet, const struct pt_config *config) argument
497 pt_qry_apply_mtc(struct pt_time *time, struct pt_time_cal *tcal, const struct pt_packet_mtc *packet, const struct pt_config *config) argument
522 pt_qry_apply_cyc(struct pt_time *time, struct pt_time_cal *tcal, const struct pt_packet_cyc *packet, const struct pt_config *config) argument
1902 skd010_recover(struct pt_query_decoder *decoder, const struct pt_packet_ip *packet, const struct pt_time_cal *tcal, const struct pt_time *time, uint64_t offset) argument
1962 skd010_recover_disabled(struct pt_query_decoder *decoder, const struct pt_time_cal *tcal, const struct pt_time *time, uint64_t offset) argument
2004 struct pt_time_cal tcal; local
2007 struct pt_time_cal tcal; member in struct:__anon5990
2594 struct pt_time_cal tcal; local
2856 struct pt_time_cal tcal; local
[all...]
/freebsd-current/contrib/processor-trace/libipt/internal/include/
H A Dpt_time.h185 extern void pt_tcal_init(struct pt_time_cal *tcal);
193 * Returns -pte_internal if @fcr or @tcal is NULL.
196 extern int pt_tcal_fcr(uint64_t *fcr, const struct pt_time_cal *tcal);
207 extern int pt_tcal_set_fcr(struct pt_time_cal *tcal, uint64_t fcr);
H A Dpt_query_decoder.h69 struct pt_time_cal tcal; member in struct:pt_query_decoder
/freebsd-current/contrib/processor-trace/libipt/test/src/
H A Dptunit-time.c43 struct pt_time_cal tcal; member in struct:time_fixture
61 pt_tcal_init(&tfix->tcal);
62 pt_tcal_set_fcr(&tfix->tcal, 0x2ull << pt_tcal_fcr_shr);
220 errcode = pt_tcal_update_cbr(&tfix->tcal, &packet, &config);
234 errcode = pt_tcal_update_mtc(&tfix->tcal, NULL, &tfix->config);
237 errcode = pt_tcal_update_mtc(&tfix->tcal, &packet, NULL);
251 errcode = pt_tcal_update_cyc(&tfix->tcal, NULL, &tfix->config);
348 errcode = pt_tcal_fcr(&fcr, &tfix->tcal);

Completed in 119 milliseconds