one step on the basis of the input walking signal from the walking detecting unit 10 the cpu 107 generates the number of steps information indicating the total number of steps after the addition and causes the display unit 110 to display the walking detection process is performed until the walking detection process is stopped walking detection off the cpu 107 sets the value of the uptime five seconds in this embodiment to the timer 104 1 the cpu 107 outputs the start trigger signal to the timer 104 1 accordingly the timer 104 1 starts counting of the predetermined uptime subsequently the procedure goes to step s 202 step s 202 the cpu 107 determines whether or not the output from the timer 104 1 is high h to determine whether or not the uptime 5 seconds has elapsed since the counting is started in step s 201 when it is determined that the uptime is elapsed yes the procedure goes to the process in step s 203 in contrast when it is determined that the uptime is not elapsed no the procedure goes back to the process in step s 202 step s 203 the cpu 107 reads out the total number of steps and the initial value of the total number of steps from the ram 109 in general the number of steps per.