Add DistributedCache to cache metric file (path given via cmd line)

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>