DescriptionMake CPU profiler do not hog 100% of CPU.
Tick event processor should not stay in a tight loop
when there's nothing to do. It can go sleep until next sample event.
LOG=N
BUG=v8:3967
Committed: https://crrev.com/6964a9e0685fa186d9d9b7907be17505e839db1a
Cr-Commit-Position: refs/heads/master@{#28211}
Patch Set 1 #Patch Set 2 : Do not use Sleep on Windows #
Total comments: 4
Patch Set 3 : rebaseline #Patch Set 4 : rebaseline #Patch Set 5 : uploading patch #3 #Patch Set 6 : still uploading #
Messages
Total messages: 28 (9 generated)
|