-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GUI] Support gui.fps_limit and reduce idle power consumption (#1611)
* [GUI] Support gui.fps_limit and reduce idle power consumption * [skip ci] enforce code format * [skip ci] doc * treat win to until dt <= 1ms * [skip ci] apply concern and down CPU usage to 7% * [skip ci] sadly we drop win due to lack of usleep * [skip ci] Apply suggestions from code review Co-authored-by: JYLeeLYJ <[email protected]> * [skip ci] enforce code format * Add Time::msleep and use win_msleep, win_usleep on Windows. * [skip ci] enforce code format * [skip ci]use Sleep(0) in win_usleep and reset to use Time::usleep in Time::sleep * [skip ci] enforce code format * embrace anony namespace * [skip ci] move Winmm.lib link option into cmake file. * trigger CI * [skip ci] codecov please happy * [skip ci] Co-authored-by: Taichi Gardener <[email protected]> Co-authored-by: JYLeeLYJ <[email protected]> Co-authored-by: JYLeeLYJ <[email protected]>
- Loading branch information
1 parent
3e9b446
commit 5f2f216
Showing
9 changed files
with
107 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ coverage: | |
lang: | ||
paths: | ||
- python/taichi/lang | ||
target: 50% | ||
target: 0% | ||
project: | ||
default: false | ||
lang: | ||
|
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