Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
WorkTiming Class Reference

#include "vault/gear/scheduler.hpp"

Description

work-timing event for performance observation

Definition at line 416 of file scheduler.hpp.

Static Public Member Functions

static WorkTiming start (Time now)
 
static WorkTiming stop (Time now)
 

Private Types

using Payload = EngineEvent::Payload< Time >
 

Private Member Functions

 EngineEvent (Symbol msgID, Storage &&payload)
 base init for derived classes to implant custom payload
 
 EngineEvent ()
 

Static Private Attributes

static Symbol WORKSTART {"WorkStart"}
 
static Symbol WORKSTOP {"WorkStop"}
 

Additional Inherited Members

- Public Attributes inherited from EngineEvent
Symbol message
 
- Public Member Functions inherited from EngineEvent
 EngineEvent ()
 
- Protected Types inherited from EngineEvent
using Storage = std::array< int64_t, RAW_SIZ >
 
- Protected Member Functions inherited from EngineEvent
 EngineEvent (Symbol msgID, Storage &&payload)
 base init for derived classes to implant custom payload
 
- Static Protected Attributes inherited from EngineEvent
static constexpr size_t RAW_SIZ = 3
 

Member Typedef Documentation

◆ Payload

using Payload = EngineEvent::Payload<Time>
private

Definition at line 419 of file scheduler.hpp.

Member Function Documentation

◆ start()

static WorkTiming start ( Time  now)
inlinestatic

Definition at line 426 of file scheduler.hpp.

References WorkTiming::WORKSTART.

Referenced by Scheduler::ExecutionCtx::work().

+ Here is the caller graph for this function:

◆ stop()

static WorkTiming stop ( Time  now)
inlinestatic

Definition at line 427 of file scheduler.hpp.

References WorkTiming::WORKSTOP.

Referenced by Scheduler::ExecutionCtx::done().

+ Here is the caller graph for this function:

◆ EngineEvent() [1/2]

EngineEvent ( Symbol  msgID,
Storage &&  payload 
)
inlineprivate

base init for derived classes to implant custom payload

Definition at line 87 of file engine-observer.hpp.

◆ EngineEvent() [2/2]

EngineEvent ( )
inlineprivate

Definition at line 93 of file engine-observer.hpp.

Member Data Documentation

◆ WORKSTART

Symbol WORKSTART {"WorkStart"}
staticprivate

Definition at line 422 of file scheduler.hpp.

Referenced by WorkTiming::start().

◆ WORKSTOP

Symbol WORKSTOP {"WorkStop"}
staticprivate

Definition at line 423 of file scheduler.hpp.

Referenced by WorkTiming::stop().

+ Inheritance diagram for WorkTiming:
+ Collaboration diagram for WorkTiming:

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