OSDN Git Service

resolve merge conflicts of d38ce6ce to oc-dev-plus-aosp
[android-x86/system-extras.git] / simpleperf / workload.h
index 2141830..9d9d595 100644 (file)
@@ -40,6 +40,9 @@ class Workload {
   ~Workload();
 
   bool Start();
+  bool IsStarted() {
+    return work_state_ == Started;
+  }
   pid_t GetPid() {
     return work_pid_;
   }