Lines Matching refs:criticalPath
24 return &criticalPath{
32 type criticalPath struct { struct
60 func (cp *criticalPath) StartAction(action *Action, counts Counts) { argument
68 func (cp *criticalPath) FinishAction(result ActionResult, counts Counts) { argument
105 func (cp *criticalPath) Flush() { argument
106 criticalPath := cp.criticalPath()
108 if len(criticalPath) > 0 {
110 criticalTime := criticalPath[0].cumulativeDuration.Round(time.Second)
121 for i := len(criticalPath) - 1; i >= 0; i-- {
122 duration := criticalPath[i].duration
126 seconds/60, seconds%60, criticalPath[i].action.Description)
131 func (cp *criticalPath) Message(level MsgLevel, msg string) {} argument
133 func (cp *criticalPath) Write(p []byte) (n int, err error) { return len(p), nil } argument
135 func (cp *criticalPath) criticalPath() []*node { argument
146 var criticalPath []*node
149 criticalPath = append(criticalPath, node)
153 return criticalPath