comparison packages/kernel/current/ChangeLog @ 147:d397fc472bcf

Merge from eCos master repository on 2001-01-05-06:43:02-GMT
author jlarmour
date Fri, 05 Jan 2001 17:12:36 +0000
parents 2e9a636d9de9
children 8f2f7615e727
comparison
equal deleted inserted replaced
146:bd918119cf0b 147:d397fc472bcf
1 2000-12-22 Jonathan Larmour <jlarmour@redhat.com>
2
3 * include/thread.inl (check_stack): check word alignment with CYG_WORD
4 not cyg_uint32
5 Add extra stack checking for when stack limits are used.
6 (measure_stack_usage): New function to measure stack usage of the thread
7 (attach_stack): check word alignment with CYG_WORD not cyg_uint32
8 Initialize stack to preset value when measuring stack usage
9 (increment_stack_limit): Conditionalize here wrt
10 CYGFUN_KERNEL_THREADS_STACK_CHECKING and use the version in thread.cxx
11 instead if CYGFUN_KERNEL_THREADS_STACK_CHECKING is defined.
12
13 * src/common/thread.cxx (exit): If verbose stack measurement enabled,
14 output stack usage
15 (increment_stack_limit): Add version of this method when
16 CYGFUN_KERNEL_THREADS_STACK_CHECKING *is* defined. This will add
17 padding above the stack limit as necessary.
18
19 * include/thread.hxx (class Cyg_HardwareThread): Add
20 measure_stack_usage() member
21
22 * cdl/thread.cdl (CYGFUN_KERNEL_THREADS_STACK_MEASUREMENT):
23 Add to implement stack usage measurement.
24
25 * include/kapi.h (cyg_thread_measure_stack_usage): New function
26 * src/common/kapi.cxx (cyg_thread_measure_stack_usage): New function
27
1 2000-12-08 Jonathan Larmour <jlarmour@redhat.com> 28 2000-12-08 Jonathan Larmour <jlarmour@redhat.com>
2 29
3 * cdl/thread.cdl (CYGFUN_KERNEL_ALL_THREADS_STACK_CHECKING): 30 * cdl/thread.cdl (CYGFUN_KERNEL_ALL_THREADS_STACK_CHECKING):
4 Requires threads list, rather than active_if them so that 31 Requires threads list, rather than active_if them so that
5 inference engine can do its thang. 32 inference engine can do its thang.