aboutsummaryrefslogtreecommitdiff
path: root/kern/profile.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-11-19 01:07:43 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-11-19 01:07:43 +0100
commit24c0a02a18d35dbd4f7715018bfffb11241bce7b (patch)
tree298e71ed490274aacb14a856ae86bdba721d3d67 /kern/profile.c
parent2eec9a3688ab8a673a058312388cfff640acdd13 (diff)
downloadgnumach-24c0a02a18d35dbd4f7715018bfffb11241bce7b.tar.gz
gnumach-24c0a02a18d35dbd4f7715018bfffb11241bce7b.tar.bz2
gnumach-24c0a02a18d35dbd4f7715018bfffb11241bce7b.zip
Fix task and thread collection frequency
sched_tick is incremented only once per second, not once per tick. * kern/task.c (consider_task_collect): Divide task_collect_max_rate by (hz / 1) to get a number of scheduler ticks. * kern/thread.c (consider_thread_collect): Divide thread_collect_max_rate by (hz / 1) to get a number of scheduler ticks.
Diffstat (limited to 'kern/profile.c')
0 files changed, 0 insertions, 0 deletions