Pulling cpu speed from processor.  Computing timestamps in cycles via rdtsc and also in seconds by converting ts by cpu speed.  Added logging capabilities.