22{
23 float real_time, proc_time,ipc;
24 long long ins;
26
29
31
34
35 printf("Real_time: %f Proc_time: %f Instructions: %lld IPC: %f\n",
36 real_time, proc_time,ins,ipc);
37
38
41
43
46
47
50
52
55
56 printf("Real_time: %f Proc_time: %f Instructions: %lld IPC: %f\n",
57 real_time, proc_time,ins,ipc);
58
61
62 exit(0);
63}
#define ERROR_RETURN(retval)
Read performance events at the beginning of a region.
Read performance events at the end of a region and store the difference to the corresponding beginnin...
Simplified call to get instructions per cycle, real and processor time.
Stop a running event set of a rate function.