summaryrefslogtreecommitdiff
path: root/runtime/libs/misc/include/misc/EventRecorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/libs/misc/include/misc/EventRecorder.h')
-rw-r--r--runtime/libs/misc/include/misc/EventRecorder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/libs/misc/include/misc/EventRecorder.h b/runtime/libs/misc/include/misc/EventRecorder.h
index 1e621fdf8..35d4074bb 100644
--- a/runtime/libs/misc/include/misc/EventRecorder.h
+++ b/runtime/libs/misc/include/misc/EventRecorder.h
@@ -57,6 +57,7 @@ public:
void emit(const CounterEvent &evt);
public:
+ bool empty() { return _ss.str().empty(); }
void writeToFile(std::ostream &os);
private: