I need to test the thread execution processors in user mode.
Normal Processor - Execute One Thread at a time
Normal Processor + With HyperThreading Enabled (2 Logical Core Present) - Execute Two Threads at a time.
Dual Core Processor - (two Physical Core present) - Execute Two Threads at a time.
Assume One program is running two threads.
Is is possible to see visually or any proof of concept two thread is simultaneously running like that.
How to test these aspects with respect to C/C++/Win32 /etc ...programming?
I think using timestamp is not possible to test the multithreading. because
it is faster we can't print microsecond or even nanoseconds...etc...
Please advice me regarding this.