mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-01-31 19:33:04 +08:00
Update perfc_port_pmu.h
This commit is contained in:
parent
117b9fae95
commit
7f4293f992
@ -66,7 +66,7 @@
|
|||||||
__PERF_INFO__.fCPI = (float)( (double)__PERF_INFO__.lCycles \
|
__PERF_INFO__.fCPI = (float)( (double)__PERF_INFO__.lCycles \
|
||||||
/ (double)__PERF_INFO__.dwNoInstr); \
|
/ (double)__PERF_INFO__.dwNoInstr); \
|
||||||
if (__PLOOC_VA_NUM_ARGS(__VA_ARGS__) == 0) { \
|
if (__PLOOC_VA_NUM_ARGS(__VA_ARGS__) == 0) { \
|
||||||
printf( "\r\n" \
|
__perf_counter_printf__( "\r\n" \
|
||||||
"[Report for " __str "]\r\n" \
|
"[Report for " __str "]\r\n" \
|
||||||
"-----------------------------------------\r\n" \
|
"-----------------------------------------\r\n" \
|
||||||
"Instruction executed: %lld\r\n" \
|
"Instruction executed: %lld\r\n" \
|
||||||
@ -78,10 +78,10 @@
|
|||||||
, \
|
, \
|
||||||
__PERF_INFO__.dwNoInstr, \
|
__PERF_INFO__.dwNoInstr, \
|
||||||
__PERF_INFO__.lCycles, \
|
__PERF_INFO__.lCycles, \
|
||||||
__PERF_INFO__.fCPI, \
|
(double)__PERF_INFO__.fCPI, \
|
||||||
__PERF_INFO__.dwNoMemAccess, \
|
__PERF_INFO__.dwNoMemAccess, \
|
||||||
__PERF_INFO__.dwNoL1DCacheRefill, \
|
__PERF_INFO__.dwNoL1DCacheRefill, \
|
||||||
__PERF_INFO__.fDCacheMissRate \
|
(double)__PERF_INFO__.fDCacheMissRate \
|
||||||
); \
|
); \
|
||||||
} else { \
|
} else { \
|
||||||
__VA_ARGS__ \
|
__VA_ARGS__ \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user