Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix uninitialized variables and bad function calls #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CJxD
Copy link

@CJxD CJxD commented Nov 5, 2018

usecs_to_cputime64 doesn't seem to exist anymore, so I replaced it with a macro I found while browsing the linux source code suggesting that there is 4096 cputime per microsecond. May not apply to all platforms though perhaps?

Also, I'm getting a segfault when I actually try this code out. I don't think these changes would cause that though. I'm running 4.15.0-36.

`usecs_to_cputime64` doesn't seem to exist anymore, so I replaced it with a macro I found while browsing the linux source code suggesting that there is 4096 cputime per microsecond. May not apply to all platforms though perhaps?
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.

None yet

1 participant