Home
last modified time | relevance | path

Searched refs:counts (Results 1 – 11 of 11) sorted by relevance

/build/soong/ui/status/
Dstatus_test.go21 func (c *counterOutput) StartAction(action *Action, counts Counts) {
22 *c = counterOutput(counts)
24 func (c *counterOutput) FinishAction(result ActionResult, counts Counts) {
25 *c = counterOutput(counts)
35 func (c counterOutput) Expect(t *testing.T, counts Counts) {
36 if Counts(c) == counts {
41 if c.TotalActions != counts.TotalActions {
42 t.Errorf("Expected %d total edges, but got %d", counts.TotalActions, c.TotalActions)
44 if c.RunningActions != counts.RunningActions {
45 t.Errorf("Expected %d running edges, but got %d", counts.RunningActions, c.RunningActions)
[all …]
Dstatus.go197 StartAction(action *Action, counts Counts)
202 FinishAction(result ActionResult, counts Counts)
221 counts Counts member
265 s.counts.TotalActions += diff
272 s.counts.RunningActions += 1
273 s.counts.StartedActions += 1
276 o.StartAction(action, s.counts)
284 s.counts.RunningActions -= 1
285 s.counts.FinishedActions += 1
288 o.FinishAction(result, s.counts)
[all …]
Dlog.go55 func (v *verboseLog) StartAction(action *Action, counts Counts) {}
57 func (v *verboseLog) FinishAction(result ActionResult, counts Counts) {
63 fmt.Fprintf(v.w, "[%d/%d] %s\n", counts.FinishedActions, counts.TotalActions, cmd)
105 func (e *errorLog) StartAction(action *Action, counts Counts) {}
107 func (e *errorLog) FinishAction(result ActionResult, counts Counts) {
167 func (e *errorProtoLog) StartAction(action *Action, counts Counts) {}
169 func (e *errorProtoLog) FinishAction(result ActionResult, counts Counts) {
216 func (b *buildProgressLog) StartAction(action *Action, counts Counts) {
217 b.updateCounters(counts)
220 func (b *buildProgressLog) FinishAction(result ActionResult, counts Counts) {
[all …]
Dcritical_path.go60 func (cp *criticalPath) StartAction(action *Action, counts Counts) {
68 func (cp *criticalPath) FinishAction(result ActionResult, counts Counts) {
/build/soong/ui/terminal/
Dformat.go54 func (s formatter) progress(counts status.Counts) string {
56 …turn fmt.Sprintf("[%3d%% %d/%d] ", 100*counts.FinishedActions/counts.TotalActions, counts.Finished…
78 fmt.Fprintf(buf, "%d", counts.StartedActions)
80 fmt.Fprintf(buf, "%d", counts.TotalActions)
82 fmt.Fprintf(buf, "%d", counts.RunningActions)
84 fmt.Fprintf(buf, "%d", counts.TotalActions-counts.StartedActions)
86 fmt.Fprintf(buf, "%d", counts.FinishedActions)
88 fmt.Fprintf(buf, "%.1f", float64(counts.FinishedActions)/time.Since(s.start).Seconds())
93 fmt.Fprintf(buf, "%3d%%", 100*counts.FinishedActions/counts.TotalActions)
Dstatus_test.go132 counts status.Counts member
138 counts: status.Counts{TotalActions: totalActions},
144 r.counts.StartedActions++
145 r.counts.RunningActions++
146 r.stat.StartAction(action, r.counts)
150 r.counts.FinishedActions++
151 r.counts.RunningActions--
152 r.stat.FinishAction(result, r.counts)
156 r.counts.FinishedActions++
157 r.stat.FinishAction(result, r.counts)
[all …]
Dsimple_status.go45 func (s *simpleStatusOutput) StartAction(action *status.Action, counts status.Counts) {
48 func (s *simpleStatusOutput) FinishAction(result status.ActionResult, counts status.Counts) {
54 progress := s.formatter.progress(counts) + str
Dsmart_status.go122 func (s *smartStatusOutput) StartAction(action *status.Action, counts status.Counts) {
130 progress := s.formatter.progress(counts)
143 func (s *smartStatusOutput) FinishAction(result status.ActionResult, counts status.Counts) {
149 progress := s.formatter.progress(counts) + str
/build/soong/ui/tracer/
Dstatus.go42 func (s *statusOutput) StartAction(action *status.Action, counts status.Counts) {
63 func (s *statusOutput) FinishAction(result status.ActionResult, counts status.Counts) {
/build/soong/cmd/multiproduct_kati/
Dmain.go493 func (f *failureCount) StartAction(action *status.Action, counts status.Counts) {}
495 func (f *failureCount) FinishAction(result status.ActionResult, counts status.Counts) {
/build/make/core/
DLINUX_KERNEL_COPYING184 access to copy the source code from the same place counts as