User Manual
Page 14
t h e d e b u g g e r ' s f u n c t i o n a l i t y . I f t h e t i m e r s t i l l c o u n t s w h i l e
e x e c u t i n g t h e c o d e s e t b y t h e s e d e b u g g e r s , i t d o e s n o t t r u l y
r e f l e c t t h e t r u e b e h a v i o r o f t h e p r o g r a m b e i n g
d e b u g g e d . T h e r e f o r e , w h e n t h e B u m b l e b e e k e r n e l e x e c u t e s t h e
c o d e s e t b y t h e d e b u g g e r , t h e t i m e r w i l l a u t o m a t i c a l l y s t o p
c o u n t i n g .
2.14.2.
Timer behavior in normal mode
By default, the timer has a value of 0 after a kernel reset and then continues to
increment itself.In view of the fact that the timer count consumes some dynamic power, in
the implementation of the Bumblebee kernel, an additional bit control field is added to
the custom CSR register mcountinhibit, and the software can configure the control field
to shut down the timer. So stop when you don't need to use them