|
1 | 1 | /* |
2 | | - * Copyright 2024 The CNAI Authors |
| 2 | + * Copyright 2024 The ModelPack Authors |
3 | 3 | * |
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | * you may not use this file except in compliance with the License. |
@@ -112,13 +112,13 @@ func (t *Tracker) Summary() { |
112 | 112 |
|
113 | 113 | // Log structured fields to log file. |
114 | 114 | logrus.WithFields(logrus.Fields{ |
115 | | - "operation": t.operation, |
116 | | - "totalBytes": humanize.IBytes(uint64(totalBytes)), |
117 | | - "wallClock": wallClock.Round(time.Millisecond).String(), |
118 | | - "effectiveThroughput": formatThroughput(totalBytes, wallClock), |
119 | | - t.sourceLabel(): sourceThroughput, |
120 | | - t.sinkLabel(): sinkThroughput, |
121 | | - "bottleneck": bottleneck, |
| 115 | + "operation": t.operation, |
| 116 | + "totalBytes": humanize.IBytes(uint64(totalBytes)), |
| 117 | + "wallClock": wallClock.Round(time.Millisecond).String(), |
| 118 | + "effectiveThroughput": formatThroughput(totalBytes, wallClock), |
| 119 | + t.sourceLabel(): sourceThroughput, |
| 120 | + t.sinkLabel(): sinkThroughput, |
| 121 | + "bottleneck": bottleneck, |
122 | 122 | }).Info("io throughput summary") |
123 | 123 |
|
124 | 124 | // Print concise summary to terminal. |
|
0 commit comments