634b30119a
when variable interval become zero, the loop of while (timeConsumption >= interval) will be a infinite loop. The fix is to avoid that case. Change-Id: I8fd07296925300bace5ab7d3da86482b6d8b0d03 Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>