-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refs #6: Change check watcher to prepare watcher and code clean up.
* In libev, check watchers are called when there ARE pending events to execute while prepare watcher are called when ev_run() is about to BLOCK due to no pending events. The timing when we need to flush any pending tasks is the latter, not the former. In my tests, using check watchers occaisionally gives performance fluctuation more than 50% (about once per 5-10 seconds), while prepare watchers do not have such symptoms. * Removes no longer used semi-coalesced codes in offloadtask.cc.
- Loading branch information
Showing
4 changed files
with
20 additions
and
134 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