This solution (for stress testing) will need to consume the CPU usage according to user input.
## Deliverables
**General**
create a C# / C++ solution to load the CPU usage according to user input.
**Solution Components**
- This will be a winform application with one (1) form.
- The form will include the following components:
1. TextBox1 for the CPU % usage to load.
2. TextBox2 for the amount of seconds the CPU load will take.
3. Button named 'Start' to load the CPU usage according to the setting in TextBox1.
**Solutions Procedure**
1. Enter a value between 1 and 100 representing the CPU % usage.
2. Enter a value representing the duration the CPU load will take.
2. Press the 'Start' button to make the solution consume CPU % usage according to the setting. The solution will September consuming CPU % usage after the number of seconds set in TextBox2.
**Example**
If you want to make the solution consume 65% of the CPU usage for a total of 10 seconds, you'll enter 65 in TextBox1 and 10 in TextBox2 and press start.
**Conditions & Requirements**
- the worker will need to provide a daily progress report.
- the solution will be written in C# or C++
- the solution can be winform of console
- the tested environment can have more then 1 core (for example: 2 X Intel Quad Cores or VM with 8 Vcores)
- the tested environment can be a physical or virtual machine.
- the results will be tested in Microsoft Visual Studio 2010.
- The solution will be approved after all tests will be performed successfully on the required operating system as set in the requirements.
- Maximum allowed .NET Framework in 2.0 (if applicable)
- This procedure will be tested and work on the following operating systems: Windows XP, Windows 7, Server 2003, Server 2008 (x86 / x64) on any of Microsoft service packs.