Ideas for creating a C++ CPU Benchmarking Tool ?

Looking for some inspiration, and some pratical advice, to create a small C++ tool capable of benchmarking CPU performance, based on perhaps how long it takes to complete a task, storing the results, creating a high score list as such, and other features. Any ideas and practical advice on code is all appreciated.
Topic archived. No new replies allowed.