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_

Private Static Functions Index

static voiddisable_lttng_trace_identity_noexcept (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, plugin/edge aggregation, and optional power telemetry.

Definition at line 548 of file Run.h.

Friends

Run

friend class Run

Definition at line 561 of file Run.h.

Public Constructors

MeasureScope()

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

Definition at line 550 of file Run.h.

MeasureScope()

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

Definition at line 554 of file Run.h.

Private Constructors

MeasureScope()

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

Definition at line 563 of file Run.h.

Public Destructor

~MeasureScope()

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

Definition at line 552 of file Run.h.

Public Operators

operator=()

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

Definition at line 551 of file Run.h.

operator=()

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

Definition at line 555 of file Run.h.

Public Member Functions

stop()

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

Definition at line 557 of file Run.h.

stopped()

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

Definition at line 558 of file Run.h.

Private Member Attributes

impl_

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

Definition at line 565 of file Run.h.

Private Static Functions

disable_lttng_trace_identity_noexcept()

void simaai::neat::MeasureScope::disable_lttng_trace_identity_noexcept (Impl * impl)
static

Definition at line 564 of file Run.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.