diff options
Diffstat (limited to 'simpleperf/event_fd.h')
-rw-r--r-- | simpleperf/event_fd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/simpleperf/event_fd.h b/simpleperf/event_fd.h index 2112978f..90791a53 100644 --- a/simpleperf/event_fd.h +++ b/simpleperf/event_fd.h @@ -28,6 +28,8 @@ #include "IOEventLoop.h" #include "perf_event.h" +namespace simpleperf { + struct PerfCounter { uint64_t value; // The value of the event specified by the perf_event_file. uint64_t time_enabled; // The enabled time. @@ -153,4 +155,6 @@ class EventFd { bool IsEventAttrSupported(const perf_event_attr& attr, const std::string& event_name); +} // namespace simpleperf + #endif // SIMPLE_PERF_EVENT_FD_H_ |