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

Homework3 : time(kernel) #22

Open
wants to merge 6 commits into
base: Nikita.Barichev
Choose a base branch
from

Conversation

CheeseMite
Copy link

@CheeseMite CheeseMite commented Feb 16, 2020

Desription

Kernel module with sysfs interface. It shows relation time in maximum possible resolution passed since previous read of it. And shows absolute time of previous reading.

Module's mode can be changed by writing 0 - show relation time, and everything else - show absolute time.

Example

cd /sys/class/Tim/
cat myTim 
2.74955
echo "1" > myTim
cat myTim
38.36385
cat myTim; sleep 10 && cat myTim
196.77832
207.63388

Here is some problem, hrtimer callback return too early after forwarding it.

@CheeseMite CheeseMite changed the title Homework3 : Time(kernel) Homework3 : time(kernel) Feb 16, 2020
@CheeseMite CheeseMite added question Further information is requested and removed in progress labels Feb 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant