Support to count frame rate in a period

1. fix the time format issue to support Oct
2. support to count frame rate in a period