Performance Measurement
A new programming language is introduced to implement monitoring and control systems:
· Explain how you would verify that executable code that is generated from the source code of this language is capable of running on multiple processors simultaneously.
· Research and discuss the capabilities and drawbacks of at least two code profiling tools that you would use to measure the performance of the new programming language.
Sample Answer
There are a few ways to verify that executable code that is generated from the source code of a new programming language is capable of running on multiple processors simultaneously.
One way is to use a compiler that supports multiprocessing. This compiler will generate code that is specifically designed to be executed on multiple processors. The compiler will typically do this by breaking the code down into smaller tasks that can be executed independently on different processors.