5e88959488
The implementation of CpuSamples.timeSpan has never matched the specification and has never been returned properly from the service (returned as 'timespan' instead of 'timeSpan'). Since timeSpan is effectively the same value as timeExtentMicros, timeExtendMicros should be used instead. Fixes https://github.com/dart-lang/sdk/issues/45276 TEST=N/A Change-Id: I3a1fda81e199718824ad80eb955adb3214ae192c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192780 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Ben Konyi <bkonyi@google.com>
vm_service
A library to access the VM Service Protocol.
Usage
See the example for a simple use of the library's API.
The VM Service Protocol spec can be found at github.com/dart-lang/sdk/runtime/vm/service/service.md.
Features and bugs
Please file feature requests and bugs at the issue tracker.