Documentation
¶
Overview ¶
Package timing turns ledger events into the active time a run spent in a step: the window between two step boundaries, minus every wait on the user inside it. It never reports a wall duration: a window it cannot bound, or one an unended wait runs into, yields nothing rather than a guess.
Index ¶
Constants ¶
View Source
const ( Plan = "plan" Implement = "implement" )
The steps windows are measured for.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Window ¶
type Window struct {
Task string
Session string
Step string
From time.Time
To time.Time
Active time.Duration
}
Window is one stretch of a step in one session.
Click to show internal directories.
Click to hide internal directories.