Skip to content

Commit

Permalink
Mention CONFIG_HIGH_RES_TIMERS kernel setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Georgi Chorbadzhiyski committed Sep 20, 2011
1 parent 0350c69 commit 1ea99e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Installation
mptsd do not depend on any external libraries. There are two source code
dependancies that come with mptsd - libfuncs and libtsfuncs.

Make sure your kernel has CONFIG_HIGH_RES_TIMERS enabled. Otherwise sleep
timeout probably won't be able to calibrate itself and mptsd will not work.

Documentation
=============
mptsd is controlled using command line parameters. Run mptsd to see all of
Expand Down
2 changes: 1 addition & 1 deletion sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void * calibrate_sleep(void *_config) {
}

if (conf->output_tmout < 0) {
LOGf("usleep overhead is to much!! Disabling output rate control.\n");
LOGf("usleep overhead is too high! Make sure the kernel is compiled with CONFIG_HIGH_RES_TIMERS.\n");
conf->output_tmout = 0;
}

Expand Down

0 comments on commit 1ea99e2

Please sign in to comment.