Closed jiuker closed 11 months ago
start, _ := time.Parse(time.RFC3339Nano, "2023-11-12T17:58:58.001226911Z")
end, _ := time.Parse(time.RFC3339Nano, "2023-11-13T08:52:39.490707688Z")
accElapsedTime := end.Sub(start)
BytesTransferred := int64(40891298634197)
bytesTransferredPerSec :=float64(BytesTransferred) / accElapsedTime.Seconds()
fmt.Println(bytesTransferredPerSec)
fmt.Println(humanize.IBytes(uint64(bytesTransferredPerSec)))
return
7.625916219439652e+08
727 MiB
@harshavardhana
Community Contribution License
All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 license] (https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 license.
Description
Motivation and Context
How to test this PR?
Types of changes
Checklist:
commit-id
orPR #
here)