Home
last modified time | relevance | path

Searched full:cyc (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_time.c274 /* We recover from previous CYC losses. */ in pt_time_update_mtc()
341 /* Adjust a CYC packet's payload spanning multiple MTC periods.
343 * CYC packets measure the Fast Counter since the last CYC(-eligible) packet.
344 * Depending on the CYC threshold, we may not get a CYC for each MTC, so a CYC
350 * If we find a CYC packet to span multiple MTC packets, though, we try to
354 * We only consider MTC. For the first CYC after TSC, the corresponding TMA
359 static int pt_time_adjust_cyc(uint64_t *cyc, const struct pt_time *time, in pt_time_adjust_cyc() argument
379 * fcr = (fc << pt_tcal_fcr_shr) / cyc in pt_time_adjust_cyc()
381 * So cyc = (fc << pt_tcal_fcr_shr) / fcr. in pt_time_adjust_cyc()
393 total_cyc = *cyc; in pt_time_adjust_cyc()
[all …]
H A Dpt_packet.c388 uint8_t cyc, ext, shl; in pt_pkt_read_cyc() local
399 cyc = *pos++; in pt_pkt_read_cyc()
401 ext = cyc & pt_opm_cyc_ext; in pt_pkt_read_cyc()
402 cyc >>= pt_opm_cyc_shr; in pt_pkt_read_cyc()
404 value = cyc; in pt_pkt_read_cyc()
H A Dpt_encoder.c492 ctc = (uint8_t) packet->payload.cyc.value; in pt_enc_next()
498 ctc = packet->payload.cyc.value; in pt_enc_next()
504 /* Check if the CYC payload is too big. */ in pt_enc_next()
887 packet.payload.cyc.value = ctc; in pt_encode_cyc()
H A Dpt_query_decoder.c2282 &packet.payload.cyc, in skd010_scan_for_ovf_resume()
2514 &packet.payload.cyc, in apl12_resume_disabled()
2704 &packet.payload.cyc, in apl11_apply()
3252 /* It must be a 2-byte CYC. */ in check_erratum_skd007()
3258 /* The 2nd byte of the CYC payload must look like an ext opcode. */ in check_erratum_skd007()
3262 /* Skip this CYC packet. */ in check_erratum_skd007()
3267 /* See if we got a second CYC that looks like an OVF ext opcode. */ in check_erratum_skd007()
3274 * Since we got two non-full CYC packets, we assume the erratum hit. in check_erratum_skd007()
3300 /* If the erratum hits, we ignore the partial CYC and instead in pt_qry_decode_cyc()
3304 /* We skip the first byte of the CYC, which brings us in pt_qry_decode_cyc()
H A Dpt_packet_decoder.c582 size = pt_pkt_read_cyc(&packet->payload.cyc, decoder->pos, in pt_pkt_decode_cyc()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMScheduleA57.td177 // if so adds 2 cyc to latency, 1 uop, 1 res cycle for A57UnitB
254 // +2cyc for branch forms
385 // For "Load, register offset, minus" we need +1cyc, +1I
419 // Load, immed pre-indexed (4 cyc for load result, 1 cyc for Base update)
423 // Load, register pre-indexed (4 cyc for load result, 2 cyc for Base update)
424 // (5 cyc load result for not-lsl2 scaled)
441 // LDRD pre-indexed: 5(2) cyc for reg, 4(1) cyc for imm.
489 // LDRD post-indexed: 4(2) cyc for reg, 4(1) cyc for imm.
501 // 5cyc "I0/I1,L" for minus reg or scaled not plus lsl2
502 // otherwise 4cyc "L"
[all …]
H A DARMScheduleA57WriteRes.td14 // Latency: #cyc
/freebsd/contrib/processor-trace/libipt/internal/include/
H A Dpt_time.h62 /* The number of lost CYC updates. */
89 * If @lost_cyc is not NULL, provides the number of lost CYC packets.
146 /* The number of cycles since the last TSC (from CYC).
152 /* The number of cycles since the last MTC (from CYC).
H A Dpt_encoder.h113 /* Encode a Cycle Count (cyc) packet. */
114 extern int pt_encode_cyc(struct pt_encoder *, uint32_t cyc);
H A Dpt_opcodes.h97 /* Shift counts and masks for decoding the cyc packet. */
240 /* The maximal payload size in bytes of a CYC packet. */
/freebsd/usr.sbin/fwcontrol/
H A Dfwdv.c176 if (ciph->fdf.dv.cyc != 0xffff && k == 0) { in dvrecv()
177 fprintf(stderr, "0x%04x\n", ntohs(ciph->fdf.dv.cyc)); in dvrecv()
306 ciph->fdf.dv.cyc = 0xffff; in dvsend()
365 ciph->fdf.dv.cyc = htons(f_cycle << 12 | f_frac); in dvsend()
367 ciph->fdf.dv.cyc = htons(cycle << 12 | f_frac); in dvsend()
373 ciph->fdf.dv.cyc = 0xffff; in dvsend()
/freebsd/contrib/processor-trace/libipt/include/
H A Dintel-pt.h272 * multi-byte CYC (Cycle Count) packet, instead of any remaining bytes
273 * of the CYC.
334 /** SKL168: Intel(R) PT CYC Packets Can be Dropped When Immediately
339 * single CYC (Cycle Count) packet, possibly along with an associated
478 * This is only required if CYC packets have been enabled in
481 * If zero, timing calibration will only be able to use MTC and CYC
722 /** A CYC packet. */
871 /** Packet: cyc. */
872 struct pt_packet_cyc cyc; member
1180 /** The number of lost mtc and cyc packets.
[all …]
H A Dintel-pt.h.in272 * multi-byte CYC (Cycle Count) packet, instead of any remaining bytes
273 * of the CYC.
334 /** SKL168: Intel(R) PT CYC Packets Can be Dropped When Immediately
339 * single CYC (Cycle Count) packet, possibly along with an associated
478 * This is only required if CYC packets have been enabled in
481 * If zero, timing calibration will only be able to use MTC and CYC
722 /** A CYC packet. */
871 /** Packet: cyc. */
872 struct pt_packet_cyc cyc; member
1180 /** The number of lost mtc and cyc packets.
[all …]
/freebsd/sys/contrib/device-tree/Bindings/fpga/
H A Daltera-passive-serial.txt8 See https://www.altera.com/literature/hb/cyc/cyc_c51013.pdf
H A Daltr,fpga-passive-serial.yaml18 See https://www.altera.com/literature/hb/cyc/cyc_c51013.pdf
/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-packet.c368 static struct ptunit_result cyc(struct packet_fixture *pfix) in cyc() function
371 pfix->packet[0].payload.cyc.value = 0x23; in cyc()
511 pfix->packet[0].payload.cyc.value = 0xa8; in cutoff_cyc()
617 ptu_run_f(suite, cyc, pfix); in main()
H A Dptunit-time.c342 static struct ptunit_result cyc(struct time_fixture *tfix) in cyc() function
394 ptu_run_f(suite, cyc, tfix); in main()
/freebsd/sys/dev/firewire/
H A Diec68113.h95 uint16_t cyc:16; /* take care of byte order! */ member
H A Dfirewire.h181 } cyc; member
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DEarlyIfConversion.cpp847 static unsigned adjCycles(unsigned Cyc, int Delta) { in adjCycles() argument
848 if (Delta < 0 && Cyc + Delta > Cyc) in adjCycles()
850 return Cyc + Delta; in adjCycles()
H A DMachineTraceMetrics.cpp1181 InstrCycles Cyc = getInstrCycles(MI); in getInstrSlack() local
1182 return getCriticalPath() - (Cyc.Depth + Cyc.Height); in getInstrSlack()
/freebsd/lib/libpmc/pmu-events/arch/powerpc/power8/
H A Dother.json365 …es thru sampling each L2 CO machine busy. PMU uses this wave to then do 16 cyc count to sample tot…
1704 "PublicDescription": "Reload latency exceeded 1024 cyc"
1710 "PublicDescription": "Reload latency exceeded 2048 cyc"
1716 "PublicDescription": "Reload latency exceeded 256 cyc"
1722 "PublicDescription": "Reload latency exceeded 32 cyc"
3396 "PublicDescription": "Reload latency exceeded 1024 cyc"
3414 "PublicDescription": "Reload latency exceeded 32 cyc"
3419 …es thru sampling each L2 RC machine busy. PMU uses this wave to then do 16 cyc count to sample tot…
3521 …es thru sampling each L2 SN machine busy. PMU uses this wave to then do 16 cyc count to sample tot…
/freebsd/lib/libpmc/pmu-events/arch/powerpc/power9/
H A Dother.json1075 …n": "L3 CO to memory OR of port 0 and 1 (lossy = may undercount if two cresp come in the same cyc)"
1150 …tates thru sampling each RC machine busy. PMU uses this wave to then do 16 cyc count to sample tot…
1375 …tates thru sampling each CO machine busy. PMU uses this wave to then do 16 cyc count to sample tot…
1400 …tates thru sampling each SN machine busy. PMU uses this wave to then do 16 cyc count to sample tot…
1875 …on": "L3 CO to L3.1 OR of port 0 and 1 (lossy = may undercount if two cresps come in the same cyc)"
/freebsd/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_regs.h337 #define BWN_NPHY_WWISE_20NCYCDAT BWN_PHY_N(0x0B8) /* WWiSE 20 N cyc data */
338 #define BWN_NPHY_WWISE_40NCYCDAT BWN_PHY_N(0x0B9) /* WWiSE 40 N cyc data */
339 #define BWN_NPHY_TGNSYNC_20NCYCDAT BWN_PHY_N(0x0BA) /* TGNsync 20 N cyc data */
340 #define BWN_NPHY_TGNSYNC_40NCYCDAT BWN_PHY_N(0x0BB) /* TGNsync 40 N cyc data */
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZHazardRecognizer.cpp191 OS << "(" << PI->ReleaseAtCycle << "cyc)"; in dumpSU()

12