expose cpu data to tsviewdb, fixes #328

given only ints have gone into tsviewdb so far, decided to cast to int.