Home
last modified time | relevance | path

Searched refs:instr_count (Results 1 – 4 of 4) sorted by relevance

/linux/tools/perf/util/cs-etm-decoder/
H A Dcs-etm-decoder.c130 static u32 cs_etm_decoder__dec_instr_count_to_ns(u32 *instr_count) in cs_etm_decoder__dec_instr_count_to_ns() argument
132 const u32 instr_copy = *instr_count; in cs_etm_decoder__dec_instr_count_to_ns()
134 *instr_count %= INSTR_PER_NS; in cs_etm_decoder__dec_instr_count_to_ns()
293 cs_etm_decoder__dec_instr_count_to_ns(&packet_queue->instr_count); in cs_etm_decoder__do_soft_timestamp()
353 } else if (packet_queue->instr_count / INSTR_PER_NS > converted_timestamp) { in cs_etm_decoder__do_hard_timestamp()
370 (packet_queue->instr_count / INSTR_PER_NS); in cs_etm_decoder__do_hard_timestamp()
374 packet_queue->instr_count = 0; in cs_etm_decoder__do_hard_timestamp()
387 packet_queue->instr_count = 0; in cs_etm_decoder__reset_timestamp()
415 packet_queue->packet_buffer[et].instr_count = 0; in cs_etm_decoder__buffer_packet()
467 packet->instr_count = elem->num_instr_range; in cs_etm_decoder__buffer_range()
[all …]
/linux/tools/perf/util/
H A Dcs-etm.h177 u32 instr_count; member
205 u32 instr_count; member
H A Dcs-etm.c572 queue->packet_buffer[i].instr_count = 0; in cs_etm__clear_packet_queue()
1774 tidq->period_instructions += tidq->packet->instr_count; in cs_etm__sample()
1809 * tidq->packet->instr_count in cs_etm__sample()
1817 * tidq->packet->instr_count represents the number of in cs_etm__sample()
/linux/tools/power/x86/turbostat/
H A Dturbostat.c1582 unsigned long long instr_count; member
2524 outp += sprintf(outp, "IPC: %lld\n", t->instr_count); in dump_counters()
2728 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 1.0 * t->instr_count / t->aperf); in format_counters()
3344 old->instr_count = new->instr_count - old->instr_count; in delta_thread()
3421 t->instr_count = 0; in clear_counters()
3525 average.threads.instr_count += t->instr_count; in sum_counters()
3664 average.threads.instr_count /= topo.allowed_cpus; in compute_average()
4514 if (read(get_instr_count_fd(cpu), &t->instr_count, sizeof(long long)) != sizeof(long long)) in get_counters()