Fixes typo.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Casts return values of calloc.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Removes CpuTimesInfo. Simplifies API.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>