-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
Close
/WaitCtx
to UtilityVM
& System
Add `CloseCtx` and `WaitCtx` methods to `UtilityVM` and `System`, which accept a context parameter and return if the context is canceled. This is intended to allow benchmark iterations to time out and prevent them from spending the majority of their time waiting. However, the added benefit is that tracing information (trace and span ID) will now be passed along to the `Wait` and `Close` logs (and underlying HCS call spans). Additionally, fix a bug in `(*UtilityVM).Close`, where, if the uVM was created but not started, then the `(*UtilityVM).Wait` call will hang indefinitely. Fix is to wait initially on the system to close, close the IO output handler, and then wait on the uVM. Combine LCOW uVM benchmarks together (similar to LCOW container) to simplify benchmark name formatting. Relies on #1875 Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
- Loading branch information
Showing
17 changed files
with
443 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.