]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - tidl/tidl-api.git/blobdiff - tidl_api/inc/executor.h
Added graph viewer for TIDL API timestamp data
[tidl/tidl-api.git] / tidl_api / inc / executor.h
index fb730729f8bd94d4a7c45bd6768933816efef48b..11e6aa3fa32c75ea199e5a522571e521548d485a 100644 (file)
@@ -60,9 +60,6 @@ typedef std::set<DeviceId> DeviceIds;
 class ExecutorImpl;
 class ExecutionObject;
 
-//! Defines the return type for Executor::GetExecutionObjects
-typedef std::vector<std::unique_ptr<ExecutionObject>> ExecutionObjects;
-
 /*! @class Executor
     @brief Manages the overall execution of a layersGroup in a network using the
     specified configuration and the set of devices available to the
@@ -94,10 +91,6 @@ class Executor
         //! Executor object
         ~Executor();
 
-        //! Returns a vector of unique_ptr's to execution objects
-        //! available on this instance of the Executor
-        const ExecutionObjects& GetExecutionObjects() const;
-
         //! Returns a single execution object at index
         ExecutionObject* operator[](uint32_t index) const;
 
@@ -180,6 +173,10 @@ inline T* malloc_ddr(size_t size)
     return val;
 }
 
+//! Enable time stamp generation for TIDL API events
+bool EnableTimeStamps(const std::string& file = "timestamp.log",
+                      size_t num_frames=32);
+
 /*! @class Exception
  *  @brief Used to error reporting
  */