pub enum ActivityType {
Scheduling = 0,
Processing = 2,
Spinning = 1,
Serialization = 3,
Deserialization = 4,
ControlMessage = 5,
DataMessage = 6,
Waiting = 8,
Busy = 9,
}
Expand description
The various types of activity that can happen in a dataflow.
Unknown
et al. shouldn’t be emitted by instrumentation. Instead,
they might be inserted as helpers during PAG construction.
Variants§
Scheduling = 0
Operator scheduled. Used as temporary state for LogRecord
s
where it’s still unclear whether they were only spinning or
also did some work
Processing = 2
Operator actually doing work
Spinning = 1
Operator scheduled, but not doing any work
Serialization = 3
Data serialization
Deserialization = 4
Data deserialization
ControlMessage = 5
remote control messages, e.g. about progress
DataMessage = 6
remote data messages, e.g. moving tuples around
Waiting = 8
Waiting for unblocking. In particular, operator might wait for external input. (not emitted by profiling)
Busy = 9
Waiting where next activity is actively prepared, e.g. in-between a ScheduleEnd and consecutive ScheduleStart. In particular, operator doesn’t depend on external input. (not emitted by profiling)
Trait Implementations§
Source§impl Abomonation for ActivityType
impl Abomonation for ActivityType
Source§impl Clone for ActivityType
impl Clone for ActivityType
Source§fn clone(&self) -> ActivityType
fn clone(&self) -> ActivityType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more