Skip to content

cmd/do: Add --time flag.#746

Merged
ben-clayton merged 1 commit intogoogle:masterfrom
ben-clayton:do-time
Jul 18, 2017
Merged

cmd/do: Add --time flag.#746
ben-clayton merged 1 commit intogoogle:masterfrom
ben-clayton:do-time

Conversation

@ben-clayton
Copy link
Contributor

While on unix systems it's easy to time ./do <blah>, on windows you need to have unix tools on the path.

While on unix systems it's easy to `time ./do <blah>`, on windows you need to have unix tools on the path.
@ben-clayton ben-clayton requested a review from dsrbecky July 17, 2017 15:10
@ben-clayton ben-clayton merged commit 6f191d0 into google:master Jul 18, 2017
@ben-clayton ben-clayton deleted the do-time branch July 18, 2017 08:58
purvisa-at-google-com pushed a commit that referenced this pull request Sep 29, 2022
This bug may happen when AGI has Memory tab checked, but not put at front.

When block memory UI tries to repaint, it will 1.check repainting area, 2.
calculate repainting memory range accordingly, 3.query the server to load the
memory range.
In AGI, we have been using gc.getClipping() to do the step #1 for quite some
time, but recently we find that it will not do #1 correctly when the Memory tab
is hidden in the back, and thus the following steps will get wrong and cause
incorrect server query. (It's possible but not sure, that SWT handles gc.getClipping()
differently in newer version and thus this bug surfaces recently.) This PR tries
to do the step #1 based on another data source and thus solve the problem.

Test: This bug may happen when AGI has Memory tab checked, but not put at
front. Reproduced on MacOS BigSur.
Bug: b/181012589.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants