Class mediapipe::GraphProfiler
ClassList > mediapipe > GraphProfiler
Inherits the following classes: std::enable_shared_from_this< ProfilingContext >
Inherited by the following classes: mediapipe::ProfilingContext
Classes
| Type | Name |
|---|---|
| class | GraphProfileBuilder |
| class | Scope |
Public Functions
| Type | Name |
|---|---|
| absl::Status | CaptureProfile (GraphProfile * result, PopulateGraphConfig populate_config=PopulateGraphConfig::kNo) |
| std::unique_ptr< GlProfilingHelper > | CreateGlProfilingHelper () |
| absl::Status | GetCalculatorProfiles (std::vector< CalculatorProfile > * profiles) const |
| const std::shared_ptr< mediapipe::Clock > | GetClock () const |
| uint64_t | GetGraphId () |
| const ValidatedGraphConfig * | GetValidatedGraphConfig () |
| GraphProfiler () |
|
| GraphProfiler (const GraphProfiler &) = delete |
|
| void | Initialize (const ValidatedGraphConfig & validated_graph_config) |
| void | LogEvent (const TraceEvent & event) |
| void | Pause () |
| void | Reset () |
| void | Resume () |
| void | SetClock (const std::shared_ptr< mediapipe::Clock > & clock) |
| absl::Status | Start (mediapipe::Executor * executor) |
| absl::Status | Stop () |
| absl::Status | WriteProfile () |
| GraphProfiler & | operator= (const GraphProfiler &) = delete |
| const ProfilerConfig & | profiler_config () |
| GraphTracer * | tracer () |
| ~GraphProfiler () |
Public Functions Documentation
function CaptureProfile
absl::Status mediapipe::GraphProfiler::CaptureProfile (
GraphProfile * result,
PopulateGraphConfig populate_config=PopulateGraphConfig::kNo
)
function CreateGlProfilingHelper
std::unique_ptr< GlProfilingHelper > mediapipe::GraphProfiler::CreateGlProfilingHelper ()
function GetCalculatorProfiles
absl::Status mediapipe::GraphProfiler::GetCalculatorProfiles (
std::vector< CalculatorProfile > * profiles
) const
function GetClock
const std::shared_ptr< mediapipe::Clock > mediapipe::GraphProfiler::GetClock () const
function GetGraphId
inline uint64_t mediapipe::GraphProfiler::GetGraphId ()
function GetValidatedGraphConfig
inline const ValidatedGraphConfig * mediapipe::GraphProfiler::GetValidatedGraphConfig ()
function GraphProfiler [1/2]
mediapipe::GraphProfiler::GraphProfiler ()
function GraphProfiler [2/2]
mediapipe::GraphProfiler::GraphProfiler (
const GraphProfiler &
) = delete
function Initialize
void mediapipe::GraphProfiler::Initialize (
const ValidatedGraphConfig & validated_graph_config
)
function LogEvent
void mediapipe::GraphProfiler::LogEvent (
const TraceEvent & event
)
function Pause
void mediapipe::GraphProfiler::Pause ()
function Reset
void mediapipe::GraphProfiler::Reset ()
function Resume
void mediapipe::GraphProfiler::Resume ()
function SetClock
void mediapipe::GraphProfiler::SetClock (
const std::shared_ptr< mediapipe::Clock > & clock
)
function Start
absl::Status mediapipe::GraphProfiler::Start (
mediapipe::Executor * executor
)
function Stop
absl::Status mediapipe::GraphProfiler::Stop ()
function WriteProfile
absl::Status mediapipe::GraphProfiler::WriteProfile ()
function operator=
GraphProfiler & mediapipe::GraphProfiler::operator= (
const GraphProfiler &
) = delete
function profiler_config
inline const ProfilerConfig & mediapipe::GraphProfiler::profiler_config ()
function tracer
inline GraphTracer * mediapipe::GraphProfiler::tracer ()
function ~GraphProfiler
mediapipe::GraphProfiler::~GraphProfiler ()
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/framework/profiler/graph_profiler.h