对结果按时间间隔分桶
#define TIME_INTERVAL(a,b) (((a)<<32) + (b&0x00000000ffffffffL))
UINT64 lKey = 0 ;
if (0 == iTimeInterval)
{
lKey = TIME_INTERVAL((UINT64)iTime, (UINT64)iTaskid);
}
else
{
lKey = TIME_INTERVAL((UINT64)(iTime/iTimeInterval * iTimeInterval), (UINT64)0);
}