simple working cpu profiler
DRY up snapshot handling
cleanup and docs
use snapshot_t*
fix linux support
Merge pull request #10 from tmm1/cpu-profiler

CPU Profiler