|
Grid 0.7.0
|
#include <PerfCount.h>
Data Structures | |
| struct | PerformanceCounterConfig |
Public Types | |
| enum | PerformanceCounterType { CACHE_REFERENCES , CACHE_MISSES , CPUCYCLES , INSTRUCTIONS , L1D_READ_ACCESS , PERFORMANCE_COUNTER_NUM_TYPES } |
Public Member Functions | |
| PerformanceCounter (int _pct) | |
| void | Open (void) |
| void | Start (void) |
| void | Stop (void) |
| void | Report (void) |
| ~PerformanceCounter () | |
Static Public Member Functions | |
| static int | NumTypes (void) |
Data Fields | |
| int | PCT |
| long long | count |
| long long | cycles |
| int | fd |
| int | cyclefd |
| unsigned long long | elapsed |
| uint64_t | begin |
Static Private Attributes | |
| static const PerformanceCounterConfig | PerformanceCounterConfigs [] |
Definition at line 109 of file PerfCount.h.
| Enumerator | |
|---|---|
| CACHE_REFERENCES | |
| CACHE_MISSES | |
| CPUCYCLES | |
| INSTRUCTIONS | |
| L1D_READ_ACCESS | |
| PERFORMANCE_COUNTER_NUM_TYPES | |
Definition at line 123 of file PerfCount.h.
|
inline |
Definition at line 147 of file PerfCount.h.
References count, cyclefd, cycles, fd, Open(), PCT, and PERFORMANCE_COUNTER_NUM_TYPES.
|
inline |
Definition at line 236 of file PerfCount.h.
|
inlinestatic |
Definition at line 143 of file PerfCount.h.
References PERFORMANCE_COUNTER_NUM_TYPES.
|
inline |
Definition at line 159 of file PerfCount.h.
References cyclefd, fd, PCT, and PerformanceCounterConfigs.
Referenced by PerformanceCounter().
|
inline |
Definition at line 191 of file PerfCount.h.
References begin, cyclecount(), cyclefd, and fd.
|
inline |
Definition at line 206 of file PerfCount.h.
References begin, count, cyclecount(), cyclefd, cycles, elapsed, and fd.
|
inline |
Definition at line 224 of file PerfCount.h.
References count, cycles, elapsed, PCT, and PerformanceCounterConfigs.
|
staticprivate |
Definition at line 39 of file PerfCount.h.
| int PerformanceCounter::PCT |
Definition at line 134 of file PerfCount.h.
Referenced by Open(), PerformanceCounter(), and Report().
| long long PerformanceCounter::count |
Definition at line 136 of file PerfCount.h.
Referenced by PerformanceCounter(), Report(), and Stop().
| long long PerformanceCounter::cycles |
Definition at line 137 of file PerfCount.h.
Referenced by PerformanceCounter(), Report(), and Stop().
| int PerformanceCounter::fd |
Definition at line 138 of file PerfCount.h.
Referenced by Open(), PerformanceCounter(), Start(), Stop(), and ~PerformanceCounter().
| int PerformanceCounter::cyclefd |
Definition at line 139 of file PerfCount.h.
Referenced by Open(), PerformanceCounter(), Start(), Stop(), and ~PerformanceCounter().
| unsigned long long PerformanceCounter::elapsed |
Definition at line 140 of file PerfCount.h.
| uint64_t PerformanceCounter::begin |
Definition at line 141 of file PerfCount.h.