Skip to main content

MeasureScope Class

Observation scope for measuring an application-owned push/pull interval. More...

Declaration

class simaai::neat::MeasureScope { ... }

Included Headers

#include <Run.h>

Friends Index

classRun

Public Constructors Index

MeasureScope (MeasureScope &&) noexcept
MeasureScope (const MeasureScope &)=delete

Private Constructors Index

MeasureScope (std::unique_ptr< Impl > impl)

Public Destructor Index

~MeasureScope ()

Public Operators Index

MeasureScope &operator= (MeasureScope &&) noexcept
MeasureScope &operator= (const MeasureScope &)=delete

Public Member Functions Index

MeasureReportstop ()
boolstopped () const

Private Member Attributes Index

std::unique_ptr< Impl >impl_

Description

Observation scope for measuring an application-owned push/pull interval.

This does not own the inference loop and does not consume outputs. Start it before normal application push/pull code, then call stop() to get throughput, app-visible latency samples, counter deltas, profiler aggregation, and optional power telemetry.

Definition at line 444 of file Run.h.

Friends

Run

friend class Run

Definition at line 457 of file Run.h.

457 friend class Run;

Public Constructors

MeasureScope()

simaai::neat::MeasureScope::MeasureScope (MeasureScope &&)
noexcept

Definition at line 446 of file Run.h.

MeasureScope()

simaai::neat::MeasureScope::MeasureScope (const MeasureScope &)
delete

Definition at line 450 of file Run.h.

Private Constructors

MeasureScope()

simaai::neat::MeasureScope::MeasureScope (std::unique_ptr< Impl > impl)
explicit

Definition at line 459 of file Run.h.

Public Destructor

~MeasureScope()

simaai::neat::MeasureScope::~MeasureScope ()

Definition at line 448 of file Run.h.

Public Operators

operator=()

MeasureScope & simaai::neat::MeasureScope::operator= (MeasureScope &&)
noexcept

Definition at line 447 of file Run.h.

operator=()

MeasureScope & simaai::neat::MeasureScope::operator= (const MeasureScope &)
delete

Definition at line 451 of file Run.h.

Public Member Functions

stop()

MeasureReport simaai::neat::MeasureScope::stop ()

Definition at line 453 of file Run.h.

stopped()

bool simaai::neat::MeasureScope::stopped ()

Definition at line 454 of file Run.h.

Private Member Attributes

impl_

std::unique_ptr<Impl> simaai::neat::MeasureScope::impl_

Definition at line 460 of file Run.h.

460 std::unique_ptr<Impl> impl_;

The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.