C# Programming - .NET Framework - Discussion
Discussion Forum : .NET Framework - General Questions (Q.No. 2)
2.
Which of the following are valid .NET CLR JIT performance counters?
- Total memory used for JIT compilation
- Average memory used for JIT compilation
- Number of methods that failed to compile with the standard JIT
- Percentage of processor time spent performing JIT compilation
- Percentage of memory currently dedicated for JIT compilation
Discussion:
31 comments Page 1 of 4.
Anurag said:
10 years ago
Performance counter:
Description:
# of IL Bytes JITted.
Displays the total number of Microsoft intermediate language (MSIL) bytes compiled by the just-in-time (JIT) compiler since the application started. This counter is equivalent to the Total # of IL Bytes Jitted counter.
# of Methods JITted.
Displays the total number of methods JIT-compiled since the application started. This counter does not include pre-JIT-compiled methods.
% Time in Jit.
Displays the percentage of elapsed time spent in JIT compilation since the last JIT compilation phase. This counter is updated at the end of every JIT compilation phase. A JIT compilation phase occurs when a method and its dependencies are compiled.
IL Bytes Jitted / sec.
Displays the number of MSIL bytes that are JIT-compiled per second. This counter is not an average over time; it displays the difference between the values observed in the last two samples divided by the duration of the sample interval.
Standard Jit Failures.
Displays the peak number of methods the JIT compiler has failed to compile since the application started. This failure can occur if the MSIL cannot be verified or if there is an internal error in the JIT compiler.
Total # of IL Bytes Jitted.
Displays the total MSIL bytes JIT-compiled since the application started. This counter is equivalent to the # of IL Bytes Jitted counter.
Description:
# of IL Bytes JITted.
Displays the total number of Microsoft intermediate language (MSIL) bytes compiled by the just-in-time (JIT) compiler since the application started. This counter is equivalent to the Total # of IL Bytes Jitted counter.
# of Methods JITted.
Displays the total number of methods JIT-compiled since the application started. This counter does not include pre-JIT-compiled methods.
% Time in Jit.
Displays the percentage of elapsed time spent in JIT compilation since the last JIT compilation phase. This counter is updated at the end of every JIT compilation phase. A JIT compilation phase occurs when a method and its dependencies are compiled.
IL Bytes Jitted / sec.
Displays the number of MSIL bytes that are JIT-compiled per second. This counter is not an average over time; it displays the difference between the values observed in the last two samples divided by the duration of the sample interval.
Standard Jit Failures.
Displays the peak number of methods the JIT compiler has failed to compile since the application started. This failure can occur if the MSIL cannot be verified or if there is an internal error in the JIT compiler.
Total # of IL Bytes Jitted.
Displays the total MSIL bytes JIT-compiled since the application started. This counter is equivalent to the # of IL Bytes Jitted counter.
(1)
Suresh chowdary said:
1 decade ago
The first thing we must know is after writing the programm code in environment(human understandable language) we must convert to System understandable language that is done by compiler..that code will be generated in the form of MSIL(or)IL(or)BYTE CODE.
Now this code must be convert to NATIVE code i.e this code must be understand by the MICROPROCESSOR.so for this reason some time need to be spend by the PROCESSOR
After this step we can run the application which are implemented by the CLI
What is CLI?
It is open specification given by the MICROSOFT which provides the complete infrastructure required to work with the multiple programming languages.
i.e whatever languages we use for developing the application..that language must be work in .net environment.that is the facility provided by the CLI.
Now this code must be convert to NATIVE code i.e this code must be understand by the MICROPROCESSOR.so for this reason some time need to be spend by the PROCESSOR
After this step we can run the application which are implemented by the CLI
What is CLI?
It is open specification given by the MICROSOFT which provides the complete infrastructure required to work with the multiple programming languages.
i.e whatever languages we use for developing the application..that language must be work in .net environment.that is the facility provided by the CLI.
Varma said:
1 decade ago
Performance Counters are Windows OS objects that capture metrics about the performance of hardware and applications. For example, performance counters can capture performance metrics for processors, memory, threads, events, and processes. Metrics can be used to detect problems or to 'tune' applications and hardware for maximum performance.
.NET Framework Performance Counters
There are performance counters you can use to collect metrics about performance within the Common Language Runtime (CLR) and ASP.NET.
JIT Performance Counters
Describes the performance counters that provide information about code that has been just-in-time (JIT) compiled.
.NET Framework Performance Counters
There are performance counters you can use to collect metrics about performance within the Common Language Runtime (CLR) and ASP.NET.
JIT Performance Counters
Describes the performance counters that provide information about code that has been just-in-time (JIT) compiled.
Chandu said:
7 years ago
The JIT compiler translates the MSIL code of an assembly to native code and uses the CPU architecture of the target machine to execute a .NET application. The JIT compiler also enforces type-safety in the runtime environment of the .NET Framework
Ganesh said:
1 decade ago
3rd statement answer is the jit compiler compiles those part that we are modify later and that time no need to compile hole program.
4th statement answer because of compile limited part that reason it percentage of compile is improve.
4th statement answer because of compile limited part that reason it percentage of compile is improve.
Ravi Patel said:
1 decade ago
When any programmer writes code so its must convert to msil code and after that its convert into native code by the jit compiler, which is understandable to microprocessor.
Deepak said:
1 decade ago
Jit means compiling the code when its needed, this saves memory as not all the program comes into ram at once. But comes in modules as when needed.
Viz said:
8 years ago
JIT improve the Performance of our program, in run time that when which part compile. And CLR is convert our MSIC to native.
(1)
Laxman said:
10 years ago
Please, define the Number of methods that failed to compile with the standard JIT.
What is the meaning of this sentence?
What is the meaning of this sentence?
Babu said:
1 decade ago
MSIL or CIL is the same code.
MSIL/CIL Means Bytecode ---(Converted By JIT Compiler)--->Machine Code (Native Code)
MSIL/CIL Means Bytecode ---(Converted By JIT Compiler)--->Machine Code (Native Code)
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers