in uberpoet/cpulogger.py [0:0]
def chrome_trace(self):
"""Returns the chrome trace json representation of the the object"""
return {
"name": "cpu",
"ph": "C",
"pid": 1,
"ts": self.chrome_epoch,
"args": {
"user": self.user,
"sys": self.sys,
"idle": self.idle
}
}