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 494 of file Run.h.

Friends

Run

friend class Run

Definition at line 507 of file Run.h.

507 friend class Run;

Public Constructors

MeasureScope()

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

Definition at line 496 of file Run.h.

MeasureScope()

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

Definition at line 500 of file Run.h.

Private Constructors

MeasureScope()

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

Definition at line 509 of file Run.h.

Public Destructor

~MeasureScope()

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

Definition at line 498 of file Run.h.

Public Operators

operator=()

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

Definition at line 497 of file Run.h.

operator=()

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

Definition at line 501 of file Run.h.

Public Member Functions

stop()

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

Definition at line 503 of file Run.h.

stopped()

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

Definition at line 504 of file Run.h.

Private Member Attributes

impl_

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

Definition at line 510 of file Run.h.

510 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.