Reduced the minimum timeout enforced by apic_set_hardware_timer() from
1 ms to 1 us. The long minimum timeout seriously screwed profiling, since by default it works with 1 ms ticks, stopping the timer when the thread is unscheduled and restarting it with the remaining time when it is scheduled again. I could also imagine that this had a negative effect on latencies and the precision of thread wakeup times. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27672 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7326b92ce0
commit
eebbbf4494
@ -65,7 +65,7 @@ apic_timer_interrupt(void *data)
|
||||
}
|
||||
|
||||
|
||||
#define MIN_TIMEOUT 1000
|
||||
#define MIN_TIMEOUT 1
|
||||
|
||||
static status_t
|
||||
apic_set_hardware_timer(bigtime_t relativeTimeout)
|
||||
|
Loading…
Reference in New Issue
Block a user