forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win,Profile: fix timeout units (JuliaLang#38208)
Previously, we were using units of seconds (rounded down) but the function expected milliseconds. So this was effectively always zero (ignored) in the computation. Empirically, the documentation for Sleep is fundamentally incorrect, and the stated advice to add `wPeriodMin` is bad. So here we remove that. (Microsoft has given the thumbs up to this observation also now.) Also update the Profile code defaults to sample for longer, and faster, since only the Win32 stack-unwinder (dbghelp) is absurdly slow. Co-authored-by: kimikage <kimikage.ceo@gmail.com>
- Loading branch information
Showing
3 changed files
with
13 additions
and
10 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