change the scheme to protocol.
the RealStatEntry should be 8 bytes align
change the rt from nanosecond to milisecond
change from milisecond to microseconde
change back to milisecond if we send to collection centor
cache report the stats every second
TS-3038: Fix delete of loop iterator.

Signed-off-by: portl4t <portl4t.cn@gmail.com>